This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Prune redundant blank lines.
authorNicholas Clark <nick@ccl4.org>
Sat, 5 Mar 2011 06:42:00 +0000 (06:42 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 5 Mar 2011 20:26:10 +0000 (20:26 +0000)
t/re/pat.t
t/re/pat_advanced.t
t/re/pat_rt_report.t

index 730d399..73c7cc1 100644 (file)
@@ -232,7 +232,6 @@ sub run_tests {
         is($x, '505550555', "Test /o");
     }
 
-
     {
         my $xyz = 'xyz';
         ok "abc" =~ /^abc$|$xyz/, "| after \$";
@@ -246,7 +245,6 @@ sub run_tests {
         is($result, "abc:bc", $message);
     }
 
-
     {
         my $message = "Scalar /g";
         $_ = "abcfooabcbar";
@@ -292,7 +290,6 @@ sub run_tests {
         is($out, 1, $message);
     }
 
-
     {
         $_ = 'foobar1 bar2 foobar3 barfoobar5 foobar6';
         my @out = /(?<!foo)bar./g;
@@ -340,7 +337,6 @@ sub run_tests {
         }
     }
 
-
     {
         # 20000 nodes, each taking 3 words per string, and 1 per branch
         my $long_constant_len = join '|', 12120 .. 32645;
@@ -537,8 +533,6 @@ sub run_tests {
         is(qr/abc$unicode/,    '(?^l:abc(?^u:\b\v$))', 'Verify retains u when interpolated under locale');
     }
 
-
-
     {
         my $message = "Look around";
         $_ = 'xabcx';
@@ -600,7 +594,6 @@ sub run_tests {
         }
     }
 
-
     {
         # test if failure of patterns returns empty list
         my $message = "Failed pattern returns empty list";
@@ -618,7 +611,6 @@ sub run_tests {
         is("@_", "", $message);
     }
 
-
     {
         my $message = '@- and @+ tests';
 
@@ -666,7 +658,6 @@ sub run_tests {
         ok(!defined $+ [2] && !defined $- [2] &&
            !defined $+ [4] && !defined $- [4], $message);
 
-
         /.(a)/;
         is($#+, 1, $message);
         is($#-, 1, $message);
@@ -682,13 +673,11 @@ sub run_tests {
         is($#-, 1, $message);
     }
 
-
     foreach ('$+[0] = 13', '$-[0] = 13', '@+ = (7, 6, 5)', '@- = qw (foo bar)') {
         must_die($_, qr/^Modification of a read-only value attempted/,
                 'Elements of @- and @+ are read-only');
     }
 
-
     {
         my $message = '\G testing';
         $_ = 'aaa';
@@ -708,7 +697,6 @@ sub run_tests {
         ok($str =~ /.\G./ && $& eq 'bc', $message);
     }
 
-
     {
         my $message = 'pos inside (?{ })';
         my $str = 'abcde';
@@ -773,7 +761,6 @@ sub run_tests {
                      "'abcde|' 'abc' 'de'", $message);
     }
 
-
     {
         my $message = '\G anchor checks';
         my $foo = 'aabbccddeeffgg';
@@ -807,7 +794,6 @@ sub run_tests {
         is($1, 'cd', $message);
     }
 
-
     {
         $_ = '123x123';
         my @res = /(\d*|x)/g;
@@ -815,7 +801,6 @@ sub run_tests {
         is("@res", "123||x|123|", "0 match in alternation");
     }
 
-
     {
         my $message = "Match against temporaries (created via pp_helem())" .
                          " is safe";
@@ -823,7 +808,6 @@ sub run_tests {
         is($1, "bar", $message);
     }
 
-
     {
         my $message = 'package $i inside (?{ }), ' .
                          'saved substrings and changing $_';
@@ -843,7 +827,6 @@ sub run_tests {
         is("@c", ",f,,o,,o, ,b,,a,,r,", $message);
     }
 
-
     {
         my $message = 'Brackets';
         our $brackets;
@@ -859,14 +842,12 @@ sub run_tests {
         is($&, "{ and }", $message);
     }
 
-
     {
         $_ = "a-a\nxbb";
         pos = 1;
         ok(!m/^-.*bb/mg, '$_ = "a-a\nxbb"; m/^-.*bb/mg');
     }
 
-
     {
         my $message = '\G anchor checks';
         my $text = "aaXbXcc";
@@ -874,7 +855,6 @@ sub run_tests {
         ok($text !~ /\GXb*X/g, $message);
     }
 
-
     {
         $_ = "xA\n" x 500;
         unlike($_, qr/^\s*A/m, '$_ = "xA\n" x 500; /^\s*A/m"');
@@ -884,7 +864,6 @@ sub run_tests {
         is("@res", "b b", '\b is not special');
     }
 
-
     {
         my $message = '\S, [\S], \s, [\s]';
         my @a = map chr, 0 .. 255;
@@ -943,7 +922,6 @@ sub run_tests {
         is("@b", "@c", $message);
     }
 
-
     {
         # see if backtracking optimization works correctly
         my $message = 'Backtrack optimization';
@@ -959,7 +937,6 @@ sub run_tests {
         like("\n\n", qr/\n?+ $ \n/x, $message);
     }
 
-
     {
         package S;
         use overload '""' => sub {'Object S'};
@@ -973,7 +950,6 @@ sub run_tests {
       ::ok('S' -> new   =~ /^Object S/, "Object stringification") or diag($message);
     }
 
-
     {
         my $message = "Test result of match used as match";
         ok('a1b' =~ ('xyz' =~ /y/), $message);
@@ -982,13 +958,11 @@ sub run_tests {
         is($`, 'a', $message);
     }
 
-
     {
         my $message = '"1" is not \s';
         may_not_warn sub {ok ("1\n" x 102 !~ /^\s*\n/m, $message)}, "$message (did not warn)";
     }
 
-
     {
         my $message = '\s, [[:space:]] and [[:blank:]]';
         my %space = (spc   => " ",
@@ -1189,9 +1163,6 @@ sub run_tests {
        }
        ok($count < 10, 'RT #3516 C');
     }
-
-
-
 } # End of sub run_tests
 
 1;
index 5590c87..98bd08e 100644 (file)
@@ -34,7 +34,6 @@ run_tests() unless caller;
 #
 sub run_tests {
 
-
     {
         my $message = '\C matches octet';
         $_ = "a\x{100}b";
@@ -57,8 +56,6 @@ sub run_tests {
         is($4, "b", $message);
     }
 
-
-
     {
         my $message = '\C matches octet';
         $_ = "\x{100}";
@@ -84,7 +81,6 @@ sub run_tests {
         }
     }
 
-
     {
         # Japhy -- added 03/03/2001
         () = (my $str = "abc") =~ /(...)/;
@@ -92,7 +88,6 @@ sub run_tests {
         is($1, "abc", 'Changing subject does not modify $1');
     }
 
-
   SKIP:
     {
         # The trick is that in EBCDIC the explicit numeric range should
@@ -112,13 +107,11 @@ sub run_tests {
         unlike("\xce", qr/[I-J]/, '"\xce" !~ /[I-J]/');
     }
 
-
     {
         ok "\x{ab}"   =~ /\x{ab}/,   '"\x{ab}"   =~ /\x{ab}/  ';
         ok "\x{abcd}" =~ /\x{abcd}/, '"\x{abcd}" =~ /\x{abcd}/';
     }
 
-
     {
         my $message = 'bug id 20001008.001';
 
@@ -137,7 +130,6 @@ sub run_tests {
         }
     }
 
-
     {
         my $message = 'Test \x escapes';
         ok("ba\xd4c" =~ /([a\xd4]+)/ && $1 eq "a\xd4", $message);
@@ -150,8 +142,6 @@ sub run_tests {
         ok("ba\x{d4}c" =~ /([a\x{d4}]+)/ && $1 eq "a\xd4", $message);
     }
 
-
-
     {
         my $message = 'Match code points > 255';
         $_ = "abc\x{100}\x{200}\x{300}\x{380}\x{400}defg";
@@ -162,15 +152,12 @@ sub run_tests {
         ok($1 eq "\x{200}\x{300}"        && length ($1) == 2, $message);
     }
 
-
-
     {
         my $x = "\x{10FFFD}";
         $x =~ s/(.)/$1/g;
         ok ord($x) == 0x10FFFD && length($x) == 1, "From Robin Houston";
     }
 
-
     {
         my %d = (
             "7f" => [0, 0, 0],
@@ -189,8 +176,6 @@ sub run_tests {
         }
     }
 
-
-
     {
         # From Japhy
         must_warn 'qr/(?c)/',    '^Useless \(\?c\)';
@@ -209,7 +194,6 @@ sub run_tests {
                                   'Useless \(\?c\)';
     }
 
-
     {
         my $message = "/x tests";
         $_ = "foo";
@@ -229,7 +213,6 @@ sub run_tests {
         --
     }
 
-
     {
         my $message = "/o feature";
         sub test_o {$_ [0] =~ /$_[1]/o; return $1}
@@ -273,7 +256,6 @@ sub run_tests {
 
     }
 
-
   SKIP:
     {
         ## Should probably put in tests for all the POSIX stuff,
@@ -289,7 +271,6 @@ sub run_tests {
         is($x, (join "", map {chr} 0x00 .. 0x1F, 0x7F), $message);
     }
 
-
     {
         # With /s modifier UTF8 chars were interpreted as bytes
         my $message = "UTF-8 chars aren't bytes";
@@ -298,7 +279,6 @@ sub run_tests {
         is($#a, 12, $message);
     }
 
-
     {
         my $message = '. matches \n with /s';
         my $str1 = "foo\nbar";
@@ -315,7 +295,6 @@ sub run_tests {
         @a = $str2 =~ /\C/gs; is(@a, 9, $message); is("@a", "f o o \n $a $b b a r", $message);
     }
 
-
     {
         no warnings 'digit';
         # Check that \x## works. 5.6.1 and 5.005_03 fail some of these.
@@ -411,14 +390,12 @@ sub run_tests {
 
     }
 
-
     {
         # High bit bug -- japhy
         my $x = "ab\200d";
         ok $x =~ /.*?\200/, "High bit fine";
     }
 
-
     {
         # The basic character classes and Unicode
         ok "\x{0100}" =~ /\w/, 'LATIN CAPITAL LETTER A WITH MACRON in /\w/';
@@ -426,7 +403,6 @@ sub run_tests {
         ok "\x{1680}" =~ /\s/, 'OGHAM SPACE MARK in /\s/';
     }
 
-
     {
         my $message = "Folding matches and Unicode";
         like("a\x{100}", qr/A/i, $message);
@@ -451,7 +427,6 @@ sub run_tests {
         like("\x{100}a", qr/[\x{101}]/i, $message);
     }
 
-
     {
         use charnames ':full';
         my $message = "Folding 'LATIN LETTER A WITH GRAVE'";
@@ -485,7 +460,6 @@ sub run_tests {
         like($UPPER, qr/[$lower]/i, $message);
     }
 
-
     {
         use charnames ':full';
         my $message = "GREEK CAPITAL LETTER SIGMA vs " .
@@ -498,7 +472,6 @@ sub run_tests {
            'Did not warn [change a5961de5f4215b5c]';
     }
 
-
     {
         my $message = '\X';
         use charnames ':full';
@@ -518,7 +491,6 @@ sub run_tests {
         like("!abc!", qr/a\Xc/, $message);
     }
 
-
     {
         my $message = "Final Sigma";
 
@@ -563,7 +535,6 @@ sub run_tests {
         ok(":$S3:" =~ /:(([$sigma])+):/i && $1 eq $S3 && $2 eq $sigma, $message);
     }
 
-
     {
         use charnames ':full';
         my $message = "Parlez-Vous " .
@@ -603,7 +574,6 @@ sub run_tests {
         }
     }
 
-
     {
         my $message = "Lingering (and useless) UTF8 flag doesn't mess up /i";
         my $pat = "ABcde";
@@ -623,7 +593,6 @@ sub run_tests {
         like($str, qr/$pat/i, $message);
     }
 
-
     {
         use charnames ':full';
         my $message = "LATIN SMALL LETTER SHARP S " .
@@ -655,7 +624,6 @@ sub run_tests {
             qr/[\N{LATIN SMALL LETTER SHARP S}x]/i, $message);
     }
 
-
     {
         # More whitespace: U+0085, U+2028, U+2029\n";
 
@@ -704,7 +672,6 @@ sub run_tests {
         }
     }
 
-
     {
         # . with /s should work on characters, as opposed to bytes
         my $message = ". with /s works on characters, not bytes";
@@ -737,7 +704,6 @@ sub run_tests {
         is($r1, $r2, $message);
     }
 
-
     {
         my $message = "Unicode lookbehind";
         like("A\x{100}B"       , qr/(?<=A.)B/, $message);
@@ -750,7 +716,6 @@ sub run_tests {
         # but that looks like a typo.
     }
 
-
     {
         my $message = 'UTF-8 hash keys and /$/';
         # http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters
@@ -767,7 +732,6 @@ sub run_tests {
         }
     }
 
-
     {
         my $message = "No SEGV in s/// and UTF-8";
         my $s = "s#\x{100}" x 4;
@@ -780,7 +744,6 @@ sub run_tests {
         }
     }
 
-
     {
         my $message = "UTF-8 bug (maybe already known?)";
         my $u = "foo";
@@ -795,7 +758,6 @@ sub run_tests {
         is($u, "feeber", $message);
     }
 
-
     {
         my $message = "UTF-8 bug with s///";
         # check utf8/non-utf8 mixtures
@@ -827,7 +789,6 @@ sub run_tests {
         }
     }
 
-
     {
         my $message = "qr /.../x";
         my $R = qr / A B C # D E/x;
@@ -838,9 +799,6 @@ sub run_tests {
         ok("ABCDE" =~ m/($R)/ && $1 eq "ABC", $message);
     }
 
-
-
-
     {
         local $\;
         $_ = 'aaaaaaaaaa';
@@ -851,9 +809,6 @@ sub run_tests {
         ok +($a = $_, $a =~ s/[^\d]+/./g), 's/[^\s]/ utf8';
     }
 
-
-
-
     {
         # Subject: Odd regexp behavior
         # From: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
@@ -874,7 +829,6 @@ sub run_tests {
         like("\x{2019}", qr/\S/, $message);
     }
 
-
     {
         # XXX DAPM 13-Apr-06. Recursive split is still broken. It's only luck it
         # hasn't been crashing. Disable this test until it is fixed properly.
@@ -884,12 +838,10 @@ sub run_tests {
         ok 0, 'cache_re & "(?{": it dumps core in 5.6.1 & 5.8.0';
     }
 
-
     {
         ok "\x{100}\n" =~ /\x{100}\n$/, "UTF-8 length cache and fbm_compile";
     }
 
-
     {
         package Str;
         use overload q /""/ => sub {${$_ [0]};};
@@ -977,7 +929,6 @@ sub run_tests {
         ok $ok, "Trie min count matches";
     }
 
-
     {
         # TRIE related
         # LATIN SMALL/CAPITAL LETTER A WITH MACRON
@@ -1021,9 +972,6 @@ sub run_tests {
            "COMMON PREFIX TRIEF + LATIN SMALL LETTER SHARP S";
     }
 
-
-
-
     {
     BEGIN {
         unshift @INC, 'lib';
@@ -1089,7 +1037,6 @@ sub run_tests {
 
     }
 
-
     {
         use charnames ':full';
 
@@ -1107,7 +1054,6 @@ sub run_tests {
         ok "\0" =~ /^\N{NULL}$/, 'Verify that \N{NULL} works; is not confused with an error';
     }
 
-
     {
         our $brackets;
         $brackets = qr{
@@ -1144,7 +1090,6 @@ sub run_tests {
         }
     }
 
-
     {
         my $s = '123453456';
         $s =~ s/(?<digits>\d+)\k<digits>/$+{digits}/;
@@ -1154,7 +1099,6 @@ sub run_tests {
         ok $s eq '123456', 'Named capture (single quotes) s///';
     }
 
-
     {
         my @ary = (
             pack('U', 0x00F1),            # n-tilde
@@ -1238,7 +1182,6 @@ sub run_tests {
         is($count, 4, "/.(*PRUNE)/");
     }
 
-
     {   # Test the (*SKIP) pattern
         our $count = 0;
         'aaab' =~ /a+b?(*SKIP)(?{$count++})(*FAIL)/;
@@ -1255,7 +1198,6 @@ sub run_tests {
         is("@res", "aaab aaab", "Adjacent (*SKIP) works as expected");
     }
 
-
     {   # Test the (*SKIP) pattern
         our $count = 0;
         'aaab' =~ /a+b?(*MARK:foo)(*SKIP)(?{$count++})(*FAIL)/;
@@ -1272,7 +1214,6 @@ sub run_tests {
         is("@res", "aaab aaab", "Adjacent (*SKIP) works as expected");
     }
 
-
     {   # Test the (*SKIP) pattern
         our $count = 0;
         'aaab' =~ /a*(*MARK:a)b?(*MARK:b)(*SKIP:a)(?{$count++})(*FAIL)/;
@@ -1287,7 +1228,6 @@ sub run_tests {
           "Adjacent (*MARK:a)b?)(*MARK:x)(*SKIP:a) works as expected");
     }
 
-
     {   # Test the (*COMMIT) pattern
         our $count = 0;
         'aaabaaab' =~ /a+b?(*COMMIT)(?{$count++})(*FAIL)/;
@@ -1304,7 +1244,6 @@ sub run_tests {
         is("@res", "aaab", "Adjacent (*COMMIT) works as expected");
     }
 
-
     {
         # Test named commits and the $REGERROR var
         our $REGERROR;
@@ -1322,7 +1261,6 @@ sub run_tests {
         }
     }
 
-
     {
         # Test named commits and the $REGERROR var
         package Fnorble;
@@ -1341,7 +1279,6 @@ sub run_tests {
         }
     }
 
-
     {
         # Test named commits and the $REGERROR var
        my $message = '$REGERROR';
@@ -1361,7 +1298,6 @@ sub run_tests {
         }
     }
 
-
     {
         my $message = "Relative Recursion";
         my $parens = qr/(\((?:[^()]++|(?-1))*+\))/;
@@ -1383,7 +1319,6 @@ sub run_tests {
         is($count, 1, "Optimiser should have prevented more than one match");
     }
 
-
     {
         # From Message-ID: <877ixs6oa6.fsf@k75.linux.bogus>
         my $dow_name = "nada";
@@ -1395,7 +1330,6 @@ sub run_tests {
         is($dow_name, $time_string, "UTF-8 trie common prefix extraction");
     }
 
-
     {
         my $v;
         ($v = 'bar') =~ /(\w+)/g;
@@ -1404,7 +1338,6 @@ sub run_tests {
           '$1 is safe after /g - may fail due to specialized config in pp_hot.c');
     }
 
-
     {
         my $message = "http://nntp.perl.org/group/perl.perl5.porters/118663";
         my $qr_barR1 = qr/(bar)\g-1/;
@@ -1428,7 +1361,6 @@ sub run_tests {
         is($REGERROR, 'foo', $message);
     }
 
-
     {
         my $message = '\K test';
         my $x;
@@ -1445,7 +1377,6 @@ sub run_tests {
         is($x, "aabbccddee", $message);
     }
 
-
     {
         sub kt {
             return '4' if $_[0] eq '09028623';
@@ -1462,7 +1393,6 @@ sub run_tests {
         ok 'boob'=~/( b (??{ $qr }) b )/x && 1, "PL_curpm, nested eval";
     }
 
-
     {
         use charnames ":full";
         ok "\N{ROMAN NUMERAL ONE}" =~ /\p{Alphabetic}/, "I =~ Alphabetic";
@@ -1523,7 +1453,6 @@ sub run_tests {
         ok "\x{1C5}" =~ /\p{TitlecaseLetter}/i,  "\\x{1C5} =~ TitlecaseLetter under /i";
     }
 
-
     {
         # requirement of Unicode Technical Standard #18, 1.7 Code Points
         # cf. http://www.unicode.org/reports/tr18/#Supplementary_Characters
@@ -1535,7 +1464,6 @@ sub run_tests {
         }
     }
 
-
     {
         my $res="";
 
@@ -1553,7 +1481,6 @@ sub run_tests {
           "Check that (?&..) to a buffer inside a (?|...) goes to the leftmost");
     }
 
-
     {
         use warnings;
         my $message = "ASCII pattern that really is UTF-8";
@@ -1564,7 +1491,6 @@ sub run_tests {
         is("@w", '', $message);
     }
 
-
     {
         my $message = "Corruption of match results of qr// across scopes";
         my $qr = qr/(fo+)(ba+r)/;
@@ -1577,7 +1503,6 @@ sub run_tests {
         is("$1$2", "foobar", $message);
     }
 
-
     {
         my $message = "HORIZWS";
         local $_ = "\t \r\n \n \t".chr(11)."\n";
@@ -1591,7 +1516,6 @@ sub run_tests {
         is($_, "hhHHhHhhHH", $message);
     }
 
-
     {
         # Various whitespace special patterns
         my @h = map {chr $_}   0x09,   0x20,   0xa0, 0x1680, 0x180e, 0x2000,
@@ -1617,7 +1541,6 @@ sub run_tests {
         }
     }
 
-
     {
         # Check that \\xDF match properly in its various forms
         # Test that \xDF matches properly. this is pretty hacky stuff,
@@ -1655,7 +1578,6 @@ sub run_tests {
         }
     }
 
-
     {
         my $message = "BBC(Bleadperl Breaks CPAN) Today: String::Multibyte";
         my $re  = qr/(?:[\x00-\xFF]{4})/;
@@ -1670,7 +1592,6 @@ sub run_tests {
         is("@a","$esc$hyp=$hyp=$esc$esc", $message);
     }
 
-
     {
         # Test for keys in %+ and %-
         my $message = 'Test keys in %+ and %-';
@@ -1693,7 +1614,6 @@ sub run_tests {
         is((join ",", sort map "@$_", values %-), ",a", $message);
     }
 
-
     {
         # length() on captures, the numbered ones end up in Perl_magic_len
         my $_ = "aoeu \xe6var ook";
@@ -1706,7 +1626,6 @@ sub run_tests {
         is(length $+{eek}, 4, q[length $+{eek} == length $1]);
     }
 
-
     {
         my $ok = -1;
 
@@ -1732,7 +1651,6 @@ sub run_tests {
         is($ok, 1, '$+{x} exists after "foo"=~/(?<x>foo)|bar/');
     }
 
-
     {
         local $_;
         ($_ = 'abc') =~ /(abc)/g;
@@ -1740,7 +1658,6 @@ sub run_tests {
         is("$1", 'abc', "/g leads to unsafe match vars: $1");
     }
 
-
     {
         # Message-ID: <20070818091501.7eff4831@r2d2>
         my $str = "";
@@ -1761,7 +1678,6 @@ sub run_tests {
         is(length $str, 0, "Trie scope error, string should be empty");
     }
 
-
     {
 # more TRIE/AHOCORASICK problems with mixed utf8 / latin-1 and case folding
     for my $chr (160 .. 255) {
@@ -1778,7 +1694,6 @@ sub run_tests {
         is($b, $a, "Copy of scalar used for postponed subexpression");
     }
 
-
     {
         our @ctl_n = ();
         our @plus = ();
@@ -1801,7 +1716,6 @@ sub run_tests {
         is("@plus",  "bla blubb", '$+  inside of (?{}) works as expected');
     }
 
-
     SKIP: {
         # XXX: This set of tests is essentially broken, POSIX character classes
         # should not have differing definitions under Unicode.
@@ -1834,7 +1748,6 @@ sub run_tests {
           'IsPunct agrees with [:punct:] with explicit Latin1');
     }
 
-
     {
        # Tests for [#perl 71942]
         our $count_a;
index a04d19c..923b649 100644 (file)
@@ -34,16 +34,10 @@ run_tests() unless caller;
 #
 sub run_tests {
 
-
-
-
     like("A \x{263a} B z C", qr/A . B (??{ "z" }) C/,
         "Match UTF-8 char in presence of (??{ }); Bug 20000731.001");
 
-
-
     {
-
         no warnings 'uninitialized';
         ok(undef =~ /^([^\/]*)(.*)$/, "Used to cause a SEGV; Bug 20001021.005");
     }
@@ -66,10 +60,7 @@ sub run_tests {
         }
     }
 
-
     {
-
-
         # Fist half of the bug.
         my $message = 'HEBREW ACCENT QADMA matched by .*; Bug 20001028.003';
         my $X = chr (1448);
@@ -85,9 +76,7 @@ sub run_tests {
         is(ord $X, 1488, $message);
     }
 
-
     {   
-
         my $message = 'Repeated s///; Bug 20001108.001';
         my $X = "Szab\x{f3},Bal\x{e1}zs";
         my $Y = $X;
@@ -96,9 +85,7 @@ sub run_tests {
         is($X, "Szab\x{f3},Bal\x{e1}zs", $message);
     }
 
-
     {
-
         my $message = 's/// on UTF-8 string; Bug 20000517.001';
         my $x = "\x{100}A";
         $x =~ s/A/B/;
@@ -106,15 +93,12 @@ sub run_tests {
         is(length $x, 2, $message);
     }
 
-
     {
-
         my $message = '\C and É; Bug 20001230.002';
         ok("École" =~ /^\C\C(.)/ && $1 eq 'c', $message);
         like("École", qr/^\C\C(c)/, $message);
     }
 
-
     {
         # The original bug report had 'no utf8' here but that was irrelevant.
 
@@ -123,9 +107,7 @@ sub run_tests {
         like($a, qr/\w/, $message);  # used to core dump.
     }
 
-
     {
-
         my $message = '/g in scalar context; Bug 20010410.006';
         for my $rx ('/(.*?)\{(.*?)\}/csg',
                    '/(.*?)\{(.*?)\}/cg',
@@ -144,7 +126,6 @@ sub run_tests {
     }
 
     {
-
         # Amazingly vertical tabulator is the same in ASCII and EBCDIC.
         for ("\n", "\t", "\014", "\r") {
             unlike($_, qr/[[:print:]]/, sprintf "\\%03o not in [[:print:]]; Bug 20010619.003", ord $_);
@@ -154,8 +135,6 @@ sub run_tests {
         }
     }
 
-
-
     {
         # [ID 20010814.004] pos() doesn't work when using =~m// in list context
 
@@ -166,7 +145,6 @@ sub run_tests {
         is("$a $b $c", 'ba:ba ad:ae 10', "pos() works with () = m//; Bug 20010814.004");
     }
 
-
     {
         # [ID 20010407.006] matching utf8 return values from
         # functions does not work
@@ -190,7 +168,6 @@ sub run_tests {
         ok $x =~ /.*?\200/, "High bit fine";
     }
 
-
     {
         my $message = 'UTF-8 hash keys and /$/';
         # http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters
@@ -207,9 +184,7 @@ sub run_tests {
         }
     }
 
-
     {
-
         my $message = "s///eg [change 13f46d054db22cf4]; Bug 20020124.005";
 
         for my $char ("a", "\x{df}", "\x{100}") {
@@ -222,9 +197,7 @@ sub run_tests {
         }
     }
 
-
     {
-
         my $message = "Correct pmop flags checked when empty pattern; Bug 20020412.005";
 
         # Requires reuse of last successful pattern.
@@ -242,9 +215,7 @@ sub run_tests {
         is($result, $num, $message);
     }
 
-
     {
-
         my $message = 'UTF-8 regex matches above 32k; Bug 20020630.002';
         for (['byte', "\x{ff}"], ['utf8', "\x{1ff}"]) {
             my ($type, $char) = @$_;
@@ -265,9 +236,7 @@ sub run_tests {
         ok $ok && $ord == 0x100 && $len == 4, "No panic: end_shift [change 0e933229fa758625]";
     }
 
-
     {
-
         our $a = "x\x{100}";
         chop $a;    # Leaves the UTF-8 flag
         $a .= "y";  # 1 byte before 'y'.
@@ -319,7 +288,6 @@ sub run_tests {
 
     
     {
-
         my $message = 'UTF-8 matching; Bug 15397';
         like("\x{100}", qr/\x{100}/, $message);
         like("\x{100}", qr/(\x{100})/, $message);
@@ -328,18 +296,14 @@ sub run_tests {
         like("\x{100}\x{100}", qr/(\x{100})(\x{100})/, $message);
     }
 
-
     {
-
         my $message = 'Neither ()* nor ()*? sets $1 when matched 0 times; Bug 7471';
         local $_       = 'CD';
         ok(/(AB)*?CD/ && !defined $1, $message);
         ok(/(AB)*CD/  && !defined $1, $message);
     }
 
-
     {
-
         my $message = "Caching shouldn't prevent match; Bug 3547";
         my $pattern = "^(b+?|a){1,2}c";
         ok("bac"    =~ /$pattern/ && $1 eq 'a', $message);
@@ -348,11 +312,7 @@ sub run_tests {
         ok("bbbbac" =~ /$pattern/ && $1 eq 'a', $message);
     }
 
-
-
     {
-
-
         ok("\x{100}" =~ /(.)/, '$1 should keep UTF-8 ness; Bug 18232');
         is($1, "\x{100}",  '$1 is UTF-8; Bug 18232');
         { 'a' =~ /./; }
@@ -360,9 +320,7 @@ sub run_tests {
         isnt($1, "\xC4\x80", '$1 is not non-UTF-8; Bug 18232');
     }
 
-
     {
-
         my $message = "Optimizer doesn't prematurely reject match; Bug 19767";
         use utf8;
 
@@ -378,9 +336,7 @@ sub run_tests {
         like("0", qr/\p{N}+\z/, $message);         # Variant.
     }
 
-
     {
-
         my $message = "(??{ }) doesn't return stale values; Bug 20683";
         our $p = 1;
         foreach (1, 2, 3, 4) {
@@ -401,7 +357,6 @@ sub run_tests {
         is($p, 5, $message);
     }
 
-
     {
         # Subject: Odd regexp behavior
         # From: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
@@ -422,9 +377,7 @@ sub run_tests {
         like("\x{2019}", qr/\S/, $message);
     }
 
-
     {
-
         my $message = "(??{ .. }) in split doesn't corrupt its stack; Bug 21411";
         our $i;
         is('-1-3-5-', join('', split /((??{$i++}))/, '-1-3-5-'), $message);
@@ -434,7 +387,6 @@ sub run_tests {
         is("@_", "a|b|c", $message);
     }
 
-
     {
         # XXX DAPM 13-Apr-06. Recursive split is still broken. It's only luck it
         # hasn't been crashing. Disable this test until it is fixed properly.
@@ -444,18 +396,14 @@ sub run_tests {
         ok 0, 'cache_re & "(?{": it dumps core in 5.6.1 & 5.8.0';
     }
 
-
     {
-
         $_ = "code:   'x' { '...' }\n"; study;
         my @x; push @x, $& while m/'[^\']*'/gx;
         local $" = ":";
         is("@x", "'x':'...'", "Parse::RecDescent triggered infinite loop; Bug 17757");
     }
 
-
     {
-
         sub func ($) {
             ok("a\nb" !~ /^b/,  "Propagated modifier; $_[0]; Bug 22354");
             ok("a\nb" =~ /^b/m, "Propagated modifier; $_[0] - with /m; Bug 22354");
@@ -467,15 +415,12 @@ sub run_tests {
         $_ = "x"; /x(?{func "in multiline regexp"})/m;
     }
 
-
     {
-
         $_    = "abcdef\n";
         my @x = m/./g;
         is("abcde", $`, 'Global match sets $`; Bug 19049');
     }
 
-
     {
         # [perl #23769] Unicode regex broken on simple example
         # regrepeat() didn't handle UTF-8 EXACT case right.
@@ -525,7 +470,6 @@ sub run_tests {
         unlike("\xc4\xc4\xc4", qr/(\x{100}++)/, $message);
     }
 
-
     {
         # perl panic: pp_match start/end pointers
 
@@ -533,7 +477,6 @@ sub run_tests {
           'Captures can move backwards in string; Bug 25269');
     }
 
-
     {
         # \cA not recognized in character classes
         like("a\cAb", qr/\cA/, '\cA in pattern; Bug 27940');
@@ -546,7 +489,6 @@ sub run_tests {
         unlike("ab", qr/a\cIb/x, '\cI in pattern; Bug 27940');
     }
 
-
     {
         # perl #28532: optional zero-width match at end of string is ignored
 
@@ -556,10 +498,7 @@ sub run_tests {
            'Optional zero-width match at end of string; Bug 28532');
     }
 
-
-
     {
-
         my $utf8 = "\xe9\x{100}"; chop $utf8;
         my $latin1 = "\xe9";
 
@@ -574,9 +513,7 @@ sub run_tests {
         like($latin1, qr/(abc|$utf8)/i, "latin/utf8 trie runtime; Bug 36207");
     }
 
-
     {
-
         my $s = "abcd";
         $s =~ /(..)(..)/g;
         $s = $1;
@@ -585,7 +522,6 @@ sub run_tests {
           "Assigning to original string does not corrupt match vars; Bug 37038");
     }
 
-
     {
         {
             package wooosh;
@@ -600,7 +536,6 @@ sub run_tests {
                "change e26a497577f3ce7b didn't affect sub calls for some reason";
     }
 
-
     {
         local $::TODO = "See changes 26925-26928, which reverted change 26410";
         {
@@ -642,10 +577,8 @@ sub run_tests {
         }
     }
 
-
   SKIP:
     {
-
         skip "In EBCDIC" if $IS_EBCDIC;
         no warnings 'utf8';
         $_ = pack 'U0C2', 0xa2, 0xf8;  # Ill-formed UTF-8
@@ -654,7 +587,6 @@ sub run_tests {
                 "Ill-formed UTF-8 doesn't match NUL in class; Bug 37836";
     }
 
-
     {
         # chr(65535) should be allowed in regexes
 
@@ -692,9 +624,7 @@ sub run_tests {
         is($s, "\x{ffff}", "U+FFFF, NBOUND; Bug 38293");
     }
 
-
     {
-
         
         # The printing characters
         my @chars = ("A" .. "Z");
@@ -715,9 +645,7 @@ sub run_tests {
         ok(defined $1 && length ($1) == $size, '$1 is correct size; Bug 39583');
     }
 
-
     {
-
         like("\0-A", qr/\c@-A/, '@- should not be interpolated in a pattern; Bug 27940');
         like("\0\0A", qr/\c@+A/, '@+ should not be interpolated in a pattern; Bug 27940');
         like("X\@-A", qr/X@-A/, '@- should not be interpolated in a pattern; Bug 27940');
@@ -743,9 +671,7 @@ sub run_tests {
         like("A@-B", qr/A@{-}B/x, 'Interpolation of @- in /@{-}/x; Bug 27940');
     }
 
-
     {
-
         my $s = 'foo bar baz';
         my (@k, @v, @fetch, $res);
         my $count = 0;
@@ -782,7 +708,6 @@ sub run_tests {
         is($@, '', 'lvalue $+ {...} should not throw an exception; Bug 50496');
     }
 
-
     {
         #
         # Almost the same as the block above, except that the capture is nested.
@@ -825,9 +750,7 @@ sub run_tests {
         is($@, '', 'lvalue $+ {...} should not throw an exception; Bug 50496');
     }
 
-
     {
-
         my $str = 'abc'; 
         my $count = 0;
         my $mval = 0;
@@ -838,11 +761,7 @@ sub run_tests {
         is($count, 1, 'Should have matched once only; Bug 36046');
     }
 
-
-
-
     {
-
         my $message = '/m in precompiled regexp; Bug 40684';
         my $s = "abc\ndef";
         my $rex = qr'^abc$'m;
@@ -850,9 +769,7 @@ sub run_tests {
         ok($s =~ m/^abc$/m, $message);
     }
 
-
     {
-
         my $message = '(?: ... )? should not lose $^R; Bug 36909';
         $^R = 'Nothing';
         {
@@ -897,9 +814,7 @@ sub run_tests {
         is($^R, 'Nothing', $message);
     }
 
-
     {
-
         my $message = 'Match is linear, not quadratic; Bug 22395';
         our $count;
         for my $l (10, 100, 1000) {
@@ -910,9 +825,7 @@ sub run_tests {
         }
     }
 
-
     {
-
         my $message = '@-/@+ should not have undefined values; Bug 22614';
         local $_ = 'ab';
         our @len = ();
@@ -920,9 +833,7 @@ sub run_tests {
         is("@len", "2 2 2", $message);
     }
 
-
     {
-
         my $message = '$& set on s///; Bug 18209';
         my $text = ' word1 word2 word3 word4 word5 word6 ';
 
@@ -941,7 +852,6 @@ sub run_tests {
         is($text, ' word2 word4 word6 ', $message);
     }
 
-
     {
         # RT#6893
 
@@ -954,10 +864,7 @@ sub run_tests {
         is("@res", "A B C", "/g pattern shouldn't infinite loop; Bug 6893");
     }
 
-
-
     {
-
         # No optimizer bug
         my @tails  = ('', '(?(1))', '(|)', '()?');    
         my @quants = ('*','+');
@@ -989,10 +896,7 @@ sub run_tests {
         $doit -> (\@dpats, @dstrs);
     }
 
-
-
     {
-
         # [perl #45605] Regexp failure with utf8-flagged and byte-flagged string
 
         my $utf_8 = "\xd6schel";
@@ -1019,9 +923,7 @@ sub run_tests {
         }
     }
 
-
     {
-
          my $message = '$REGMARK in replacement; Bug 49190';
          our $REGMARK;
          my $_ = "A";
@@ -1032,9 +934,7 @@ sub run_tests {
          is($_, "ZYX", $message);
     }
 
-
     {
-
         my $message = 'Substitution evaluation in list context; Bug 52658';
         my $reg = '../xxx/';
         my @te  = ($reg =~ m{^(/?(?:\.\./)*)},
@@ -1044,7 +944,6 @@ sub run_tests {
     }
 
     {
-
         my $a = "xyzt" x 8192;
         like($a, qr/\A(?>[a-z])*\z/,
             '(?>) does not cause wrongness on long string; Bug 60034');
@@ -1055,7 +954,6 @@ sub run_tests {
             '(?>) does not cause wrongness on long string with UTF-8; Bug 60034');
     }
 
-
     #
     # Keep the following tests last -- they may crash perl
     #
@@ -1079,16 +977,12 @@ sub run_tests {
         is($x, 'ab cd', $message);
     }
 
-
     {
-
-
         ok (("a" x (2 ** 15 - 10)) =~ /^()(a|bb)*$/, "Recursive stack cracker; Bug 24274");
         ok ((q(a)x 100) =~ /^(??{'(.)'x 100})/, 
             "Regexp /^(??{'(.)'x 100})/ crashes older perls; Bug 24274");
     }
 
-
     {
         # [perl #45337] utf8 + "[a]a{2}" + /$.../ = panic: sv_len_utf8 cache
 
@@ -1099,7 +993,6 @@ sub run_tests {
         like("aaa", qr/$s/, $message);
     }
     {
-
        my $message = "Check if tree logic breaks \$^R; Bug 57042";
        my $cond_re = qr/\s*
            \s* (?:
@@ -1123,11 +1016,8 @@ sub run_tests {
        ok $2 eq "B";
     }
 
-
-
     # This only works under -DEBUGGING because it relies on an assert().
     {
-
        # Check capture offset re-entrancy of utf8 code.
 
         sub fswash { $_[0] =~ s/([>X])//g; }
@@ -1142,7 +1032,6 @@ sub run_tests {
         is($k2, "\x{2022}", "utf8::SWASHNEW doesn't cause capture leaks; Bug 60508");
     }
 
-
     {
        # minimal CURLYM limited to 32767 matches
        my @pat = (
@@ -1171,7 +1060,6 @@ sub run_tests {
     }    
 
     {
-
        my $message
         = 'utf8 =~ /trie/ where trie matches a continuation octet; Bug 70998';