[pcre-dev] [Bug 1763] Returning only first match in JIT

Góra strony
Delete this message
Autor: admin
Data:  
Dla: pcre-dev
Temat: [pcre-dev] [Bug 1763] Returning only first match in JIT
https://bugs.exim.org/show_bug.cgi?id=1763

--- Comment #2 from Filip <filip.kwiatkowski@???> ---
Hi,

It seems I misunderstood how pcre2_match and pcre2_jit_match functions work. I
thought they find all matches at first and that later you can iterate over
those matches. But now I can see that for finding other matches, you have to
run pcre2_[jit_]match again with new offset. My mistake, sorry.

Best regards,
Filip

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