aboutsummaryrefslogtreecommitdiff
path: root/src/regex/test_regex.c
diff options
context:
space:
mode:
authorMaximilian Szengel <gnunet@maxsz.de>2012-04-13 14:41:33 +0000
committerMaximilian Szengel <gnunet@maxsz.de>2012-04-13 14:41:33 +0000
commit38f48d5fb82ca04c0c725189c47983c957c56c8f (patch)
treeb1366f605a2ca9c0d45606db9544abc2c33dc5ff /src/regex/test_regex.c
parentd045ec0ba4e862904fc310f3a247c5fb041bf6a8 (diff)
- SCC detection
- Graphviz scc coloration - optimizations - api
Diffstat (limited to 'src/regex/test_regex.c')
-rw-r--r--src/regex/test_regex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regex/test_regex.c b/src/regex/test_regex.c
index 5a883be1d5..c09dc184af 100644
--- a/src/regex/test_regex.c
+++ b/src/regex/test_regex.c
@@ -249,6 +249,9 @@ main (int argc, char *argv[])
int check_rand;
struct Regex_String_Pair rxstr[4] = {
+ {"ab?(abcd)?", 5,
+ {"ababcd", "abab", "aabcd", "a", "abb"},
+ {match, nomatch, match, match, nomatch}},
{"ab(c|d)+c*(a(b|c)d)+", 5,
{"abcdcdcdcdddddabd", "abcd", "abcddddddccccccccccccccccccccccccabdacdabd",
"abccccca", "abcdcdcdccdabdabd"},
@@ -259,10 +262,7 @@ main (int argc, char *argv[])
{nomatch, nomatch, nomatch, nomatch, nomatch}},
{"k|a+X*y+c|Q*e|p|R|Z*K*y*R+w|Y*6+n+h*k*w+V*F|W*B*e*g|N+V|t+L|P*j*3*9+X*h*J|J*6|b|E*i*f*R+S|Z|R|Y*Z|g*", 1,
{"kaXycQepRZKyRwY6nhkwVFWBegNVtLPj39XhJJ6bEifRSZRYZg"},
- {nomatch}},
- {"ab?(abcd)?", 5,
- {"ababcd", "abab", "aabcd", "a", "abb"},
- {match, nomatch, match, match, nomatch}}
+ {nomatch}}
};
check_nfa = 0;