[pcre-dev] [Bug 1565] pcregrep doesn't correctly anchor star…

Top Page
Delete this message
Author: Nicolas Sitbon
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1565] pcregrep doesn't correctly anchor start of subject
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1565




--- Comment #7 from Nicolas Sitbon <nicolas.sitbon@???> 2014-12-31 08:34:43 ---
(In reply to comment #6)
> On Tue, 30 Dec 2014, Nicolas Sitbon wrote:
>
> > with the -M I was expecting the subject string to be the whole file even if you
> > split it internally in chunk of buffer size. I'm really looking for a program
> > that can match in a whole file and not just line by line.
>
> I'm sorry that pcregrep doesn't do the job you want. I will make its
> documentation clearer in due course. It would be possible to write a
> program that does match a whole file using the underlying PCRE library,
> because there are enough features to handle subject strings in chunks,
> but there might be issues with very large files.
>
> Philip
>

No problem my bad. I hope one day this program will exist.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email