Re: [pcre-dev] [Bug 2030] Exact match mode

Etusivu
Poista viesti
Lähettäjä: Zoltán Herczeg
Päiväys:  
Vastaanottaja: admin
Kopio: pcre-dev
Aihe: Re: [pcre-dev] [Bug 2030] Exact match mode
In case of anchored matches, there is no need to scan the input for possible starting characters. Several other simplifications (optimizations) are possible as well. So the generated code is different.

You can compile the pattern twice though and use the appropriate one.

Regards,
Zoltan

admin@??? írta:
>https://bugs.exim.org/show_bug.cgi?id=2030
>
>--- Comment #4 from Giuseppe D'Angelo <dangelog@???> ---
>Many thanks for the insight :)
>
>Out of curiosity what is that makes an anchored match NOT use the JIT when
>passed at match time rather than compile time?
>
>--
>You are receiving this mail because:
>You are on the CC list for the bug.
>--
>## List details at https://lists.exim.org/mailman/listinfo/pcre-dev
>