From acacd6effdbd65f6f298c2f442554b560b4b3c09 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Thu, 22 Mar 2018 10:52:12 +0900 Subject: [PATCH] add a test case into sample/callout.c --- sample/callout.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sample/callout.c b/sample/callout.c index ab89543..6893110 100644 --- a/sample/callout.c +++ b/sample/callout.c @@ -241,6 +241,7 @@ extern int main(int argc, char* argv[]) test(enc, "(?:(*MAX{3})a|(*MAX{4})b)*", "bbbaabbab"); test(enc, "(?:(*MAX[A]{3})a|(*MAX[B]{5})b)*(*CMP{A,<,B})", "abababc"); test(enc, "(?:(*MAX[A]{7})a|(*MAX[B]{5})b)*(*CMP{A,>=,4})", "abababcabababaa"); + test(enc, "(?:(*MAX[T]{3})a)*(?:(*MAX{T})c)*", "aaccc"); /* callouts in condition */ test(enc, "\\A(?(?{in condition})then|else)\\z", "then"); -- 2.40.0