ICU-4024 fix new line handling bugs in regexp
X-SVN-Rev: 16114
This commit is contained in:
parent
ee775563d3
commit
ca84869b33
7
icu4c/source/test/testdata/regextst.txt
vendored
7
icu4c/source/test/testdata/regextst.txt
vendored
@ -435,6 +435,13 @@
|
||||
"^" "<0></0>"
|
||||
"^" 2 ""
|
||||
|
||||
"\Z" "<0></0>"
|
||||
"\Z" 2 ""
|
||||
"\Z" 2 "\u000a<0></0>"
|
||||
"\Z" "<0></0>\u000d\u000a"
|
||||
"\Z" 2 "\u000d\u000a<0></0>"
|
||||
|
||||
|
||||
# No matching ^ at interior new-lines if not in multi-line mode.
|
||||
"^" "<0></0>AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
|
||||
"^" 2 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"
|
||||
|
Loading…
Reference in New Issue
Block a user