From f42b61800a1a1b360c5ac915ec1caf34bf1fb86b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 9 Apr 2017 19:36:01 +0200 Subject: New upstream version 6.2.0 --- test/testc.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') diff --git a/test/testc.c b/test/testc.c index 5826011..fbad340 100644 --- a/test/testc.c +++ b/test/testc.c @@ -582,6 +582,10 @@ extern int main(int argc, char* argv[]) x2("(?:()|()|()|()|()|())*\\2\\5", "", 0, 0); x2("(?:()|()|()|(x)|()|())*\\2b\\5", "b", 0, 1); x2("\\xED\\xF2", "\xed\xf2", 0, 2); + x2("[0-9-a]", "-", 0, 1); // PR#44 + n("[0-9-a]", ":"); // PR#44 + x3("(\\(((?:[^(]|\\g<1>)*)\\))", "(abc)(abc)", 1, 4, 2); // PR#43 + x2("", "あ", 0, 0); x2("あ", "あ", 0, 2); n("い", "あ"); @@ -856,6 +860,8 @@ extern int main(int argc, char* argv[]) n("[^[^a-zあいう]&&[^bcdefgうえお]g-w]", "2"); x2("aバージョンのダウンロード<\\/b>", "aバージョンのダウンロード", 0, 32); x2(".バージョンのダウンロード<\\/b>", "aバージョンのダウンロード", 0, 32); + x2("\\n?\\z", "こんにちは", 10, 10); + #ifndef POSIX_TEST x2("\\p{Hiragana}", "ぴ", 0, 2); n("\\P{Hiragana}", "ぴ"); -- cgit v1.2.3