From e9ae2f8d7175c3998229bd6d7e5fe4da395d8b6b Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Fri, 25 Apr 2014 21:22:20 +0000 Subject: [PATCH] ICU-10844 Add Regex test case. X-SVN-Rev: 35657 --- icu4c/source/test/testdata/regextst.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/icu4c/source/test/testdata/regextst.txt b/icu4c/source/test/testdata/regextst.txt index 5716ab54449..36c384d136b 100644 --- a/icu4c/source/test/testdata/regextst.txt +++ b/icu4c/source/test/testdata/regextst.txt @@ -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: @@ -1172,14 +1172,17 @@ "(?<=a{1,})bc" E "aaaa<0>bcdef" # U_REGEX_LOOK_BEHIND_LIMIT error. "(?<=(?:){11})bc" "<0>bc" # Empty (?:) expression. +# Bug 10844 + +"^([\w\d:]+)$" "<0><1>DiesIst1Beispiel:text" +"^([\w\d:]+)$" i "<0><1>DiesIst1Beispiel:text" +"^(\w+\d\w+:\w+)$" "<0><1>DiesIst1Beispiel:text" +"^(\w+\d\w+:\w+)$" i "<0><1>DiesIst1Beispiel:text" # Random debugging, Temporary # -#"^(?:a?b?)*$" "a--" "This is a string with (?:one |two |three )endings" "<0>This is a string with two endings" -"((?:a|b|c)whoop-dee-do) | [jkl]|zed" "x" -"astring|another[bcd]|alpha|a|[a]" "x" #