[pcre-dev] pcre2_jit_match man page documentation lacking cr…

Startseite
Nachricht löschen
Autor: Rob Harrison
Datum:  
To: pcre-dev
Betreff: [pcre-dev] pcre2_jit_match man page documentation lacking critical info
In the documentation at https://www.pcre.org/current/doc/html/pcre2_jit_match.html it says that pcre2_jit_match’s "arguments are exactly the same as for pcre2_match()”. However after well over 8 hours debugging I managed to find on https://www.pcre.org/current/doc/html/pcre2jit.html#SEC6 the line as follows.

"The fast path function is called pcre2_jit_match(), and it takes exactly the same arguments as pcre2_match(). However, the subject string must be specified with a length; PCRE2_ZERO_TERMINATED is not supported.”

Please can you add the information about not supporting Null Terminated Strings to the man page for pure_jit_match to avoid others also hitting the same brick wall?

Kind regards,

Rob Harrison