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

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [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.