ICU-12160 Add regex test to verify behavior of hitEnd() after find().

X-SVN-Rev: 39978
This commit is contained in:
Andy Heninger 2017-03-31 23:09:56 +00:00
parent 773683046a
commit 9ed9930b61

View File

@ -1355,6 +1355,13 @@
"[^\u0000-\U0010ffff]bc?" "bc no match"
"[^\u0000-\U0010ffff]?bc?" "<0>bc</0> has a match"
# Bug #12160 Hit End behavior after find fails to find.
# To match Java, should be true if find fails to find.
#
"abc" Z "<0>abc</0> abc abc xyz"
"abc" Z2 "abc <0>abc</0> abc xyz"
"abc" Z3 "abc abc <0>abc</0> xyz"
"abc" z4 "abc abc abc xyz"
# Random debugging, Temporary
#