[pcre-dev] [Bug 2315] PCRE2_NEWLINE_ANYCRLF appears to be n…

Top Page

Reply to this message
Author: admin
To: pcre-dev
Subject: [pcre-dev] [Bug 2315] PCRE2_NEWLINE_ANYCRLF appears to be nonfunctional

--- Comment #10 from Philip Hazel <ph10@???> ---
Aha! I'm glad this issue is now understood. We have been lucky with the timing;
your first post was less than 24 hours after I had released 10.32, and the
abolition of ESC_r happened for that release (it seemed an unnecessary code
complication). Had you used 10.31 it might have created a gotcha for later.

I am sure the right thing to do is to create a new option (PCRE2_CR_IS_LF or
similar) so that the regular PCRE libraries can support this requirement. As
this is not something I think is common, I'll probably put it in the extra
options in the compile context, as there are not main main option bits left
(and the other newline settings are in the compile context). The coding is
straightforward and I'll do in in the next week or two. However, there won't be
another release for around 6 months at least but you will be able to get the
new code from the SVN repository when it is available.

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