Improve comments
authorKarl Williamson <public@khwilliamson.com>
Sun, 8 Dec 2013 16:48:55 +0000 (09:48 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sun, 8 Dec 2013 16:54:03 +0000 (09:54 -0700)
These improve some comments introduced by
99dd98225733b6b66a524dfeb20a486e012e39b3.

Suggested by Lukas Mai

t/re/pat_advanced.t
t/re/pat_psycho.t

index fe53496..10a9f69 100644 (file)
@@ -2256,7 +2256,7 @@ EOP
 
     {
         #' RT #119075
-        no warnings 'regexp';
+        no warnings 'regexp';   # Silence "has useless greediness modifier"
         local $@;
         eval { /a{0}?/; };
         ok(! $@,
index 82ea4da..55c8776 100644 (file)
@@ -67,7 +67,7 @@ sub run_tests {
         # CURLYX and WHILEM blocks, except those related to LONGJMP, the
         # super-linear cache and warnings. It executes about 0.5M regexes
 
-        no warnings 'regexp';   # Silence has useless greediness modifier
+        no warnings 'regexp';   # Silence "has useless greediness modifier"
         my $r = qr/^
                     (?:
                         ( (?:a|z+)+ )