[pcre-dev] [Bug 2756] Documented DFA example does not work a…

Kezdőlap
Üzenet törlése
Szerző: admin
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 2756] Documented DFA example does not work as expected
https://bugs.exim.org/show_bug.cgi?id=2756

--- Comment #2 from S. Shuck <stevenjshuck@???> ---
Thanks for the insight. I'm unblocked for the moment.

The docs for pcre2_match_data_create_from_pattern() says "The ovector is
created to be exactly the right size to hold all the substrings a pattern might
capture." I guess I could have figured out that this number is not computable
in the general case for DFA matching. Nevertheless, this sentence is false
without a disclaimer about this case.

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