Re: [pcre-dev] [Bug 2245] new operators request for beginnin…

Top Page
Delete this message
Author: zatlas1@yahoo.com
Date:  
To: admin@bugs.exim.org, pcre-dev@exim.org
Subject: Re: [pcre-dev] [Bug 2245] new operators request for beginning and end of file
Perhaps he is talking about pcre2test or pcre2grep and want to anchor the match to the first or last line where the whole file is viewed as one unit... one huge stringZe'ev

Sent from Yahoo Mail on Android

On Thu, Feb 22, 2018 at 1:22 PM, admin@???<admin@???> wrote: https://bugs.exim.org/show_bug.cgi?id=2245

--- Comment #5 from Philip Hazel <ph10@???> ---
Unfortunately, wishing for something impossible does not make it possible. As
Zoltan has said, PCRE has no concept of files. It (the PCRE library) is a
pattern matching engine; the pcre2_match() function matches a regex pattern
(previously compiled by pcre2_compile()) against a string, e.g "^abc$" matched
against "some string". It knows nothing of files.

So, it is clear we are communicating at cross-purposes. Please explain what you
are really trying to do.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev