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

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1830] pcre2posix defines the same names as POSIX
https://bugs.exim.org/show_bug.cgi?id=1830

--- Comment #7 from Philip Hazel <ph10@???> ---
Many thanks to Ze'ev Atlas for helping me see where I was being stupid. The
reference to "real" is in the 10.21 code, but I was searching in the current
"head" code. It turns out that this reference has been removed, which I had
forgotten about. I plead old age. The ChangeLog entry reads like this:

6. When the POSIX wrapper function regcomp() is called, the REG_NOSUB option
used to set PCRE2_NO_AUTO_CAPTURE when calling pcre2_compile(). However, this
disables the use of back references (and subroutine calls), which are supported
by other implementations of regcomp() with RE_NOSUB. Therefore, REG_NOSUB no
longer causes PCRE2_NO_AUTO_CAPTURE to be set, though it still ignores nmatch
and pmatch when regexec() is called.

So this reference will have gone for the 10.22 release, which I expect will be
out around July (I don't like to put out releases earlier than six months after
the last, if I can help it, so as not to burden packagers too much).

However, I can't find a reference to real_match_data. Am I missing something
else?

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