Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Question on REGEX

by moen (Hermit)
on May 14, 2001 at 01:59 UTC ( [id://80111]=note: print w/replies, xml ) Need Help??


in reply to Question on REGEX

a+? matches the minimal amount of "a" as long as there are 1 or more "a"'s (non greedy) while
a* matches "a" and maximum amount of anything as long as there are 0 or more (greedy)

-note: did a minor update to improve poor wording

-moen-

Replies are listed 'Best First'.
Re: Re: Question on REGEX
by boo_radley (Parson) on May 14, 2001 at 20:07 UTC
    this is incorrect, or at least misleading.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-24 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found