t/re/re_tests: Add Todo test
authorKarl Williamson <public@khwilliamson.com>
Fri, 3 Feb 2012 21:51:49 +0000 (14:51 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 9 Feb 2012 17:13:56 +0000 (10:13 -0700)
This bug was spotted by Tom Christiansen, but no bug report has been
written.  /[[:ascii:]]/i should match the same set of code points as
/\p{ASCII}/i.  But it is matching things outside the ASCII range

t/re/re_tests

index 66ca572..e37cfb1 100644 (file)
@@ -1564,4 +1564,6 @@ abc\N{def -       c       -       \\N{NAME} must be resolved by the lexer
 /sst/ui        s\N{LATIN SMALL LIGATURE ST}    y       $&      s\N{LATIN SMALL LIGATURE ST}
 /sst/ui        s\N{LATIN SMALL LIGATURE LONG S T}      y       $&      s\N{LATIN SMALL LIGATURE LONG S T}
 
+# /i properties shouldn't match more than the property itself
+/[[:ascii:]]/i \N{KELVIN SIGN} Tn      -       -
 # vim: softtabstop=0 noexpandtab