[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 #7 from Philip Hazel <ph10@???> ---
I am mystified because \r in a pattern never has matched \n in a subject, under
any set of options. Compiling your program with my local libpcre16.a produces a
fail result. The library that you attached doesn't work for me - I guess it's
not suitable for this box - a 64-bit Linux workstation. I get

./libpcre16.a: file not recognized: file format not recognized

though "file" says:

libpcre16.a: Mach-O universal binary with 2 architectures: [x86_64:current ar
archive random library] [i386]

Are you sure you didn't modify the code of PCRE1 when you created your library?
I suggest you compile a fresh version of libpcre16.a from the current tarball
and try your test file with that. The current tarball is here:


I would expect your test to fail. If it works, I am *very* confused.

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