~ chicken-core (chicken-5) 3da15587c79b65f3b2592d2cb10bc8ebc62ed0f8
commit 3da15587c79b65f3b2592d2cb10bc8ebc62ed0f8
Author: Peter Bex <peter.bex@xs4all.nl>
AuthorDate: Sun Sep 16 20:07:15 2012 +0200
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Tue Sep 18 23:00:51 2012 +0200
Irregex: Small test changes: Add regression test for failing initial submatch. (upstream changeset be8270498f02)
diff --git a/tests/re-tests.txt b/tests/re-tests.txt
index 3b7bf976..1cbc3793 100644
--- a/tests/re-tests.txt
+++ b/tests/re-tests.txt
@@ -96,6 +96,7 @@ ab* xayabbbz y & a
(abc|)ef abcdef y &-\1 ef-
(a|b)c*d abcd y &-\1 bcd-b
(ab|ab*)bc abc y &-\1 abc-a
+(?:(a)b|ac) ac y &-\1 ac-
a([bc]*)c* abc y &-\1 abc-bc
a([bc]*)(c*d) abcd y &-\1-\2 abcd-bc-d
a([bc]+)(c*d) abcd y &-\1-\2 abcd-bc-d
Trap