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

Top Page
Delete this message
Author: admin
To: pcre-dev
Subject: [pcre-dev] [Bug 2756] Documented DFA example does not work as expected

--- 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.