[pcre-dev] [Bug 2699] UTF8 error

Top Page

Reply to this message
Author: admin
To: pcre-dev
Old-Topics: [pcre-dev] [Bug 2699] New: UTF8 error
Subject: [pcre-dev] [Bug 2699] UTF8 error

--- 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:


I have updated the documentation.

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