[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 #4 from Rich Siegel <siegel@???> ---
Aaaagh, I just realized that my test code has a bug in it.

The declaration of 'pattern' should be written:

        const uint16_t          pattern[] = { 'a', '\\', 'r', 0 }; // "a\r"

Alternatively you could use:

        const uint16_t          pattern[] = { '.', '+', '\\', 'r', 0 }; //

With that change you should be able to reproduce the issue accurately.

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