[pcre-dev] [Bug 2511] Feature Request: PCRE2_SUBSTITUTE, op…

Página superior
Eliminar este mensaje
Autor: admin
Fecha:  
A: pcre-dev
Asunto: [pcre-dev] [Bug 2511] Feature Request: PCRE2_SUBSTITUTE, option for getting *just* the replacement of a single match
https://bugs.exim.org/show_bug.cgi?id=2511

--- Comment #2 from Kilian <kkilger@???> ---
Hi Philip,

1. As the functionality is already there internally and pcre2_substitute_match
could be called by pcre2_substitute, the code will be cleaner, more easy to
maintain and more modular and thus enable more applications (i.e. mine ;-)). So
you will not only loose anything by maintaining the API but actually gaining
something.

2. Copying (maybe megabytes) for nothing will not be a good idea for my taste.
Could, as a last resort, something along the lines of:

https://github.com/cohomology/pcre/commit/fb11ec94e27e99b5cc5e35ff3f8460d10fa3596a

be possible?

Thanks
Kilian

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