Re: trouble doing regex in file containing both ascii and binary content

2014-02-15 Thread sisyphus1
Hi Greg, This list is all but dead – it may be that you and me are the only people receiving mail from it. Much better, IMO, to post these types of questions to perlmonks. Anyway ... this might help: # use strict; use warnings; my $str = \x1F\x8B\x08; print

Re: trouble doing regex in file containing both ascii and binary content

2014-02-15 Thread Richie
I haven't had time to test my theory so I didn't respond. Since he had said text and binary my thoughts where that the regex would not match past the first linefeed and would need to be updated accordingly. On 2/15/2014 6:33 AM, sisyph...@optusnet.com.au wrote: Hi Greg, This list is all but