[pcre-dev] [Bug 1830] pcre2posix defines the same names as P…

Góra strony
Delete this message
Autor: admin
Data:  
Dla: pcre-dev
Stare tematy: [pcre-dev] [Bug 1830] New: pcre2posix defines the same names as POSIX
Temat: [pcre-dev] [Bug 1830] pcre2posix defines the same names as POSIX
https://bugs.exim.org/show_bug.cgi?id=1830

--- Comment #18 from Philip Hazel <ph10@???> ---
(In reply to Petr Pisar from comment #17)
> Created attachment 1170 [details]
> Declare POSIX regex function names as macros to PCRE functions
>
> This is a port the old PCRE 8.42. Yet it does not touch the documentation.


Thanks for the input, BUT: You will have noticed that I have just put out
8.43-RC1 without this patch. There are several reasons for this:

1. I was already preparing the release.

2. PCRE2 has been released for four years now and I really do not want to do
anything much to PCRE1 now, except possibly to fix really serious bugs if the
fix is not too involved. It is almost trivial for a program that uses the POSIX
interface to change from PCRE1 to PCRE2.

3. Declaring the regex function names as macros is not backwards compatible. It
will, of course, probably make no difference to many C and C++ programs that
use the library, but it might. Other programming languages have built
interfaces to PCRE, and I don't know if this would matter to them, but again,
it might and I wouldn't want to take the risk. Note that the PCRE2 patch
declares the POSIX functions as real functions.

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