Συντάκτης: Giuseppe D'Angelo Ημερομηνία: Προς: pcre-dev Αντικείμενο: [pcre-dev] A clarification upon PCRE_NO_UTF(8|16)_CHECK
>From the docs it's not 100% clear that if PCRE_NO_UTF8_CHECK (or
PCRE_NO_UTF16_CHECK) is NOT passed to pcre_exec then he *full* subject
string undergoes the check. Is that the case, or the check is actually
done in "chunks" or something like that?
I'm thinking about emulating //g: if PCRE checks for the validity of
the *whole* subject string, then subsequent calls to pcre_exec may
safely omit this check by passing PCRE_NO_UTF8_CHECK.
Thanks, and have a happy week-end.
--
Giuseppe D'Angelo