diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2016-01-31 19:14:15 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2016-01-31 19:14:15 +0000 |
commit | 6bf32bbce61a414df982e36df8d78d88df4602f7 (patch) | |
tree | 225826f9b36246c67aa82d52260825d9cc20267d /testdata/testoutput18 | |
parent | a037309efc805f058becbbee578674b91775a8c3 (diff) | |
download | pcre2-6bf32bbce61a414df982e36df8d78d88df4602f7.tar.gz |
Don't set PCRE2_NO_AUTO_CAPTURE when REG_NOSUB is passed to regcomp().
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@482 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testoutput18')
-rw-r--r-- | testdata/testoutput18 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testdata/testoutput18 b/testdata/testoutput18 index 0a5ffff..40ee960 100644 --- a/testdata/testoutput18 +++ b/testdata/testoutput18 @@ -105,14 +105,18 @@ No match: POSIX code 17: match failed ab\ncd 0: ab\x0acd -/a(b)c/no_auto_capture +/a(b)c/posix_nosub abc Matched with REG_NOSUB -/a(?P<name>b)c/no_auto_capture +/a(?P<name>b)c/posix_nosub abc Matched with REG_NOSUB +/(a)\1/posix_nosub + zaay +Matched with REG_NOSUB + /a?|b?/ abc 0: a |