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

Page principale
Supprimer ce message
Auteur: Philip Hazel
Date:  
À: pcre-dev
Sujet: [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 #6 from Philip Hazel <ph10@???> 2014-12-30 18:55:09 ---
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


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