Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: same program different output

by MaxKlokan (Monk)
on Dec 09, 2006 at 12:19 UTC ( #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
Node Status?
node history
Node Type: note [id://588785]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2020-10-22 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (232 votes). Check out past polls.

    Notices?