diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-06-03 16:27:47 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-06-03 16:27:47 +0000 |
commit | eec332d15c05e4ccb470ab33ce336af0dab904a8 (patch) | |
tree | 0b6c031902a23244333b2e2b4f7f0966e0790867 /testdata/testinput9 | |
parent | d717ce02f2a7978552e6b4529ecd33a0b3e60ac5 (diff) | |
download | pcre2-eec332d15c05e4ccb470ab33ce336af0dab904a8.tar.gz |
Refactor named group handling by adding a pre-pass that generates a list of
named groups with their numbers before the rest of the compiling code is run.
This has simplified the main compiling code and removed some sources of error.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@278 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testinput9')
-rw-r--r-- | testdata/testinput9 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testdata/testinput9 b/testdata/testinput9 index eeb5edb..aaa4fd8 100644 --- a/testdata/testinput9 +++ b/testdata/testinput9 @@ -251,4 +251,11 @@ /[^\s]*\s* [^\W]+\W+ [^\d]*?\d0 [^\d\w]{4,6}?\w*A/B +# Check the absolute limit on nesting (?| etc. This varies with code unit +# width because the workspace is a different number of bytes. + +/(?|(?|(?J:(?|(?x:(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|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?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?|(?| +))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) +/parens_nest_limit=1000 + # End of testinput9 |