Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: only print data ie between two lines

by namishtiwari (Acolyte)
on Jun 17, 2009 at 11:33 UTC ( #772342=note: print w/ replies, xml ) Need Help??


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


Comment on Re^2: only print data ie between two lines
Download Code
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://772342]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-07-04 23:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls