From 8330b19cec61941c4d67bb3c90529e472d43bc24 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 12 Mar 2004 13:13:14 +0000 Subject: [PATCH] Added tests to check new format specifiers. [SVN r22487] --- test/regress/tests.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/regress/tests.txt b/test/regress/tests.txt index b57f3919..1903a0b7 100644 --- a/test/regress/tests.txt +++ b/test/regress/tests.txt @@ -1253,3 +1253,16 @@ a(bbb+|bb+|b)bb abbb 0 4 (.*).* abcdef 0 6 (a*)* bc 0 0 +; new merge tests for case convertions: +- match_default normal REG_PERL REG_STARTEND REG_MERGE +abc "xyzabcCD" "\u$&" "xyzAbcCD" +abc "xyzabcCD" "\U$&\E" "xyzABCCD" +ABC "xyzABCCD" "\l$&" "xyzaBCCD" +ABC "xyzABCCD" "\L$&\E" "xyzabcCD" + +- match_default normal REG_EXTENDED REG_STARTEND REG_MERGE format_sed +abc "xyzabcCD" "\u\0" "xyzuabcCD" +abc "xyzabcCD" "\U\0\E" "xyzUabcECD" +ABC "xyzABCCD" "\l\0" "xyzlABCCD" +ABC "xyzABCCD" "\L\0\E" "xyzLABCECD" +