Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Greedy regexp matching: differences between man page and implementation?

by Roy Johnson (Monsignor)
on Jul 08, 2004 at 13:45 UTC ( [id://372794]=note: print w/replies, xml ) Need Help??


in reply to Greedy regexp matching: differences between man page and implementation?

Be sure to see this meditation for better understanding of how it's supposed to (and does) work.

In your example, it did match as many times as possible: once. Matching ab instead of a would not be matching more times, just more characters.


We're not really tightening our belts, it just feels that way because we're getting fatter.
  • Comment on Re: Greedy regexp matching: differences between man page and implementation?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-24 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found