diff --git a/regex.html b/regex.html index 2c215a0..b60e6a0 100644 --- a/regex.html +++ b/regex.html @@ -57,6 +57,10 @@ pre { min-height: 1em; display: flow-root; } +.samptxt_outer { + display: block; + overflow: auto; +} pre.samptxt { padding: 2px; display: inline-block; @@ -64,14 +68,16 @@ pre.samptxt { textarea.samp_ta { min-width: 10em; min-height: 1em; - max-width: calc(100% - 1.5em); - width: 100%; + width: calc(100% - 1.7em); + height: 1.1em; border: 1px solid grey; padding: 1px; display: inline-block; + resize: vertical; } .closebtn { float: right; + margin-left: 5px; cursor: pointer; } .re_output { @@ -223,33 +229,37 @@ sub sample_init { my $samp = shift; state $samp_id = 'a'; $samp->attr('id',"samp_".$samp_id++) unless $samp->attr('id'); - my $samptxt = $samp->children(".samptxt"); + my $samptxt = $samp->find(".samptxt"); + my $samptxt_outer = $jq->('
',{class=>"samptxt_outer"}); + $samptxt->wrap($samptxt_outer); my $samp_ta = $jq->(' +
Loading...
+ +
+
+ +
+
+ +
-
-
m{}

 
@@ -593,29 +608,38 @@ my $x = "foo"; # example
Oh, what a wonderful world!
-
+
+
-
+
+
- 📋
- + 📋
+
+
+ +
-
+
-
+
+
URL: - - 📋 + 📋 +
+
+ +
-
perl v?, WebPerl v?
+
perl v?, WebPerl v?
-
+
Perl Regular Expression Documentation: Tutorial, Quick Start,