reg_fold.t: Test bracketed character classes
authorKarl Williamson <public@khwilliamson.com>
Sun, 25 Dec 2011 21:35:54 +0000 (14:35 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 19 Jan 2012 18:58:20 +0000 (11:58 -0700)
commit8edd0c7f1de2cb79064568cc8a4d7a17ffd1a732
treeff1a89e611ae6e493e32ccd3d5406ed04701d909
parent3c3418fb500d59ad404a81b943408ce8254f50ae
reg_fold.t: Test bracketed character classes

These were removed when things were very broken, but now they work,
except for things like

    "\N{LATIN SMALL LIGATURE FFI}" =~ /[a-z]{3}/i

where the multi-char fold crosses single bracketed character class
boundaries.  These will probably never be fixed in Perl in the general
case (using \F and fc() instead), but I expect that

    "\N{LATIN SMALL LIGATURE FFI}" =~ /[f][f][i]/i

will eventually be changed so the brackets are optimized away, and will
work.  Then these TODOs will start passing.
t/re/reg_fold.t