[pcre-dev] Remove PCRE_PARTIAL restrictions for pcre_exec()

Top Pagina
Delete this message
Auteur: ND
Datum:  
Aan: Pcre-dev
Onderwerp: [pcre-dev] Remove PCRE_PARTIAL restrictions for pcre_exec()
Good day!

PCRE-PARTIAL says:
"Because of the way certain internal optimizations are implemented in the pcre_exec() function, the PCRE_PARTIAL option cannot be used with all patterns."

Restricted patterns are very uncomfortable. More: i think there is no way to automatically convert hundreds of existing non-restricted patterns to restricted ones.
How to give to PCRE ability to automatically disable this internal optimizations for PCRE_PARTIAL? Or use special option for pcre_compile, if this internal optimizations are applied at the compilation time?

Regards, Michael.