]> granicus.if.org Git - icu/commitdiff
ICU-10844 Add Regex test case.
authorAndy Heninger <andy.heninger@gmail.com>
Fri, 25 Apr 2014 21:22:20 +0000 (21:22 +0000)
committerAndy Heninger <andy.heninger@gmail.com>
Fri, 25 Apr 2014 21:22:20 +0000 (21:22 +0000)
X-SVN-Rev: 35657

icu4c/source/test/testdata/regextst.txt

index 5716ab54449aec6341470d75ef8fc2f98072de39..36c384d136b58aafdfb3c570838a2f2286fe1866 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2001-2013 International Business Machines
+# Copyright (c) 2001-2014 International Business Machines
 # Corporation and others. All Rights Reserved.
 #
 #  file:
 "(?<=a{1,})bc"           E       "aaaa<0>bc</0>def"   # U_REGEX_LOOK_BEHIND_LIMIT error.
 "(?<=(?:){11})bc"                "<0>bc</0>"          # Empty (?:) expression.
 
+# Bug 10844
+
+"^([\w\d:]+)$"                  "<0><1>DiesIst1Beispiel:text</1></0>"
+"^([\w\d:]+)$"           i      "<0><1>DiesIst1Beispiel:text</1></0>"
+"^(\w+\d\w+:\w+)$"              "<0><1>DiesIst1Beispiel:text</1></0>"
+"^(\w+\d\w+:\w+)$"       i      "<0><1>DiesIst1Beispiel:text</1></0>"
 
 #  Random debugging, Temporary
 #
-#"^(?:a?b?)*$"                   "a--"
 
 "This is a string with (?:one |two |three )endings"   "<0>This is a string with two endings</0>"
-"((?:a|b|c)whoop-dee-do) | [jkl]|zed"             "x"
-"astring|another[bcd]|alpha|a|[a]"    "x"
 
 
 #