http://www.perlmonks.org?node_id=772342


in reply to Re: only print data ie between two lines
in thread only print data ie between two lines

i got this error message when i ran the code with range operator-
Quantifier follows nothing in regex; marked by <-- HERE in m/? <-- HER +E :(Prepar ed to Send OK|Sending Invalid credential)/ at Count_ErrorCode.pl line +34.
Thanks NT

Replies are listed 'Best First'.
Re^3: only print data ie between two lines
by citromatik (Curate) on Jun 17, 2009 at 12:13 UTC

    My mistake:

    /?:(Prepared to Send OK|Sending I +nvalid credential)/
    should be
    /(?:Prepared to Send OK|Sending I +nvalid credential)/

    citromatik