Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: regex problem

by rev_1318 (Chaplain)
on Jun 08, 2005 at 10:20 UTC ( #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
Node Status?
node history
Node Type: note [id://464622]
help
Chatterbox?
[erix]: Whirlpool shoots itself in the foot

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2018-07-17 14:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (368 votes). Check out past polls.

    Notices?