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, ad...@bugs.exim.org<ad...@bugs.exim.org> 
wrote:   https://bugs.exim.org/show_bug.cgi?id=2245

--- Comment #5 from Philip Hazel <p...@hermes.cam.ac.uk> ---
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 
  
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to