ICU-4058 add test for reported odd UnicodeSet behavior with $. Working as designed, but design may want to change.

X-SVN-Rev: 18475
This commit is contained in:
Andy Heninger 2005-08-27 00:20:16 +00:00
parent f9555fcca8
commit 35039f1737

View File

@ -507,6 +507,17 @@
"\w+" "<0>イチロー</0>"
"\b....\b." "<0>イチロー?</0>"
#
# Bug 4058 ICU Unicode Set patterns have an odd feature -
# A $ as the last character before the close bracket means match
# a \uffff, which means off the end of the string in transliterators.
# Doesn't make much sense for regex, but works that way anyhow.
#
"[\$](P|C|D);" "<0>$<1>P</1>;</0>"
"[$](P|C|D);" "<0>\uffff<1>P</1>;</0>"
"[$](P|C|D);" "$P;"
"[$$](P|C|D);" "<0>$<1>P</1>;</0>"
#
# Random debugging, Temporary
#