Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: same program different output

by MaxKlokan (Monk)
on Dec 09, 2006 at 12:19 UTC ( [id://588785]=note: print w/replies, xml ) Need Help??


in reply to same program different output

In program I you are checking if the regular expression /[abc][hij]/ matches the string " aj", which it does.

In program II you are checking if regular expression / aj/ matches the string "[abc][hij]", which it does not.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-24 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found