Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Question on REGEX

by bobione (Pilgrim)
on May 14, 2001 at 02:00 UTC ( #80112=note: print w/replies, xml ) Need Help??


in reply to Question on REGEX

Yes ! There More Than One Way To Do It, but Everything Is Different.
a* -> means zero character 'a' or more.
a+? -> means one character 'a' or more and the '?' is for none greedy (the smaller match of your regexp). That not the same as (a+)? which is optional here (because of '?').
I hope I am clear enough and that enlight you.

BoBiOne KenoBi ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://80112]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2018-07-23 00:46 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 (458 votes). Check out past polls.

    Notices?