[pcre-dev] [Bug 2555] Slowdown in 16/32 bit compiling

Page principale
Supprimer ce message
Auteur: admin
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 2555] Slowdown in 16/32 bit compiling
https://bugs.exim.org/show_bug.cgi?id=2555

--- Comment #2 from Giuseppe D'Angelo <dangelog@???> ---
Hi,

Thanks for taking a look.

Am I doing something wrong when using pcre2test in 16/32 bit mode? I've got a
pattern in UTF-16; am I supposed to convert it to UTF-8 anyhow in order to feed
it to pcre2test -16? Or to save it in UTF-16?

About the compilation failure, I'd expect the pattern to fail to compile in all
cases.

About handling the repeated opcode, I'm not sure. While _matching_ a regular
expression against a subject can take a lot of time, and therefore one should
never use untrusted patterns, does the same apply to just compiling a regexp?
Should only trusted patterns ever be compiled?

Thank you,

--
You are receiving this mail because:
You are on the CC list for the bug.