]> granicus.if.org Git - icu/commitdiff
ICU-9107 Regex test cases.
authorAndy Heninger <andy.heninger@gmail.com>
Tue, 14 Feb 2012 18:39:04 +0000 (18:39 +0000)
committerAndy Heninger <andy.heninger@gmail.com>
Tue, 14 Feb 2012 18:39:04 +0000 (18:39 +0000)
X-SVN-Rev: 31393

icu4c/source/test/testdata/regextst.txt

index 170df58ca61bc55f076dcdef4528718266ffc10b..3fca732b98b34839058cfd3939544fcd19181fb6 100644 (file)
 # \Q...\E quote mode
 "hel\Qlo, worl\Ed"             "<0>hello, world</0>"
 "\Q$*^^(*)?\A\E(a*)"           "<0>$*^^(*)?\\A<1>aaaaaaaaaaaaaaa</1></0>"
+"[abc\Q]\r\E]+"                "<0>aaaccc]]]\\\\\\</0>\r..."   # \Q ... \E escape in a [set]
+
+"[ \b]"                        "<0>b</0>"
 
 # \S and \s  space characters
 "\s+"                          "not_space<0> \t \r \n \u3000 \u2004 \u2028 \u2029</0>xyz"