diff --git a/icu4c/source/test/testdata/regextst.txt b/icu4c/source/test/testdata/regextst.txt index 0e1743d38e..6ad6598c52 100644 --- a/icu4c/source/test/testdata/regextst.txt +++ b/icu4c/source/test/testdata/regextst.txt @@ -435,6 +435,13 @@ "^" "<0>" "^" 2 "" +"\Z" "<0>" +"\Z" 2 "" +"\Z" 2 "\u000a<0>" +"\Z" "<0>\u000d\u000a" +"\Z" 2 "\u000d\u000a<0>" + + # No matching ^ at interior new-lines if not in multi-line mode. "^" "<0>AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a" "^" 2 "AA\u000d\u000aBB\u000d\u000aCC\u000d\u000a"