diff --git a/web/regex_demo.html b/web/regex_demo.html index 90ae22f..467e8ce 100644 --- a/web/regex_demo.html +++ b/web/regex_demo.html @@ -2,7 +2,7 @@ -WebPerl Regex Demo +WebPerl Regex Tester @@ -28,13 +28,15 @@ pre { display: flow-root; } pre.samptxt { - padding: 2px 20px 2px 2px; + padding: 2px; display: inline-block; } textarea.samp_ta { min-width: 10em; min-height: 1em; - max-width: calc(100% - 20px); + max-width: calc(100% - 1.5em); + width: 100%; + border: 1px solid grey; padding: 1px; display: inline-block; } @@ -54,6 +56,8 @@ textarea.samp_ta { + @@ -63,17 +67,19 @@ use 5.028; use WebPerl qw/js/; my $jq = js('jQuery'); +$jq->('#perlinfo')->text("perl $^V"); + sub sample_init { my $samp = shift; my $samptxt = $samp->children(".samptxt"); my $samp_ta = $jq->('m{} + >
@@ -215,11 +223,13 @@ js('$(window)')->on('hashchange',\&hashchange); Add Sample
-
+
URL: - + 📋
+

+