diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2021-12-20 00:31:41 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-02-28 16:56:02 +0100 |
commit | 382fb056b59c9b54e3d4bf8f2329f3bc5c7d40e0 (patch) | |
tree | f5642a3bd6775b06ac8fa74c2c60fb2097ca3fa5 /test | |
parent | 48ed5a74bdf24c630b99b063fa79b1a79c2ae5f3 (diff) | |
download | libxml2-382fb056b59c9b54e3d4bf8f2329f3bc5c7d40e0.tar.gz |
Fix range quantifier on subregex
Make sure to add counted exit transitions before other counter
transitions. Otherwise, we won't backtrack correctly.
Fixes #65.
Diffstat (limited to 'test')
-rw-r--r-- | test/regexp/issue65 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/regexp/issue65 b/test/regexp/issue65 new file mode 100644 index 00000000..b71bc073 --- /dev/null +++ b/test/regexp/issue65 @@ -0,0 +1,2 @@ +=>( (a|bc{0,2})){0,2} d + b d |