>From 5ce6dfbe6fce19e1e05cba4e84962b5935aed610 Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Sun, 16 Sep 2012 20:07:15 +0200 Subject: [PATCH 3/4] Irregex: Small test changes: Add regression test for failing initial submatch. (upstream changeset be8270498f02) --- tests/re-tests.txt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tests/re-tests.txt b/tests/re-tests.txt index 3b7bf97..1cbc379 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 -- 1.7.9.1