[pcre-dev] [Bug 2699] UTF8 error

Páxina inicial
Borrar esta mensaxe
Autor: admin
Data:  
Para: pcre-dev
Temas antigos: [pcre-dev] [Bug 2699] New: UTF8 error
Asunto: [pcre-dev] [Bug 2699] UTF8 error
https://bugs.exim.org/show_bug.cgi?id=2699

--- Comment #14 from Philip Hazel <Philip.Hazel@???> ---
(In reply to Ouims from comment #12)

> Also, how do you pass an empty string as the replacement of a match?


I have just investigated this. The documentation for pcre2test was deficient.
Just supplying an empty string cancels any previously set up replacement, but
you can make it substitute an empty string by providing a buffer length so that
the "replace" modifier has a non-empty value. For example:

/xxxx/replace=[4]

I have updated the documentation.

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