Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 perusing the Monastery: (8)
As of 2022-10-07 15:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (30 votes). Check out past polls.

    Notices?