https://bugs.exim.org/show_bug.cgi?id=2120
--- Comment #17 from Rob <rob@???> ---
I appreciate the conceptual difficulty of trying to reconcile two incompatible
paradigms.
>From my perspective, the only change i need is that it doesnt throw an error. i
rewrote your escape handler so that instead of returning an error code if an
escape is unexpected or malformed, it just always returns the literal.
I dont mind if PCRE provides extra functionality thats not part of Javascript -
but returning an error is disastrous because the script stops running, and
thousands of lines of other scripts throw errors because global variables were
never initialized, and an entire site becomes functionally dead. In most cases
the regex in question isnt even used, its just part of a library.
My only worry with a JS converter is a lot of extra machine cycles when speed
is critical.
--
You are receiving this mail because:
You are on the CC list for the bug.