Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: regex problem

by rev_1318 (Chaplain)
on Jun 08, 2005 at 10:20 UTC ( [id://464622]=note: print w/replies, xml ) Need Help??


in reply to Re: regex problem
in thread regex problem

The regex /^If?/ matches both your cases because you're looking for I followed by 0 or more f's

Actually, that's 0 or 1 f's, not 0 or more :) (but who's counting)

Paul

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-19 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found