Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Strange result from "abbbbbc" =~ /(b)*?(b*?)c/

by ikegami (Patriarch)
on Aug 01, 2006 at 20:36 UTC ( #565072=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ("abbbbbc" =~ /(b*?)(b*?)c/) {
       print("\$1 eq '$1'\n");   # $1 eq ''
    ...
    } else {
       print("No match\n");
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2022-08-07 19:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?