[pcre-dev] [Bug 2407] PCRE2 10.33: pcre2grep: `--only-matchi…

Startseite
Nachricht löschen
Autor: admin
Datum:  
To: pcre-dev
Betreff: [pcre-dev] [Bug 2407] PCRE2 10.33: pcre2grep: `--only-matching' produces no output when it should
https://bugs.exim.org/show_bug.cgi?id=2407

Philip Hazel <ph10@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED


--- Comment #1 from Philip Hazel <ph10@???> ---
Thank you for such a clear, comprehensive report. Your patch is exactly the
correct one, and I have committed it. I have also made the following changes:
(1) The default number of capturing parentheses that can be accessed by -o is
now 50 instead of 32. (2) There is a new option called --om-capture that can
change this limit. (3) An error is given if -o asks for a group that is greater
than the limit.

Note that is is documented that nothing is output if a group that is requested
by -o is not present in the pattern, or if it matches an empty string. I have
not changed this.

--
You are receiving this mail because:
You are on the CC list for the bug.