diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-06-15 15:51:07 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-06-15 15:51:07 +0000 |
commit | 39d365eaf01567a33d4e99aabf0d48d02f2ea39e (patch) | |
tree | f6b594f5d7f41b0a9c085af9d0212b0fb35f74e2 /testdata | |
parent | fcbbd8d29b4558179e7b304e4bd75b714039433f (diff) | |
download | pcre2-39d365eaf01567a33d4e99aabf0d48d02f2ea39e.tar.gz |
Fix pcre2grep -o bug when ovector overflows; add option to adjust the limit;
raise the default limit; give error if -o requests an uncaptured parens.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1106 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/grepoutput | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testdata/grepoutput b/testdata/grepoutput index 2bd69be..a9297e1 100644 --- a/testdata/grepoutput +++ b/testdata/grepoutput @@ -949,3 +949,10 @@ RC=0 ---------------------------- Test 126 ----------------------------- ABC RC=0 +---------------------------- Test 127 ----------------------------- +pattern +RC=0 +---------------------------- Test 128 ----------------------------- +pcre2grep: Requested group 1 cannot be captured. +pcre2grep: Use --om-capture to increase the size of the capture vector. +RC=2 |