Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Hash of Regex

by Anonymous Monk
on Apr 07, 2010 at 18:49 UTC ( #833377=note: print w/replies, xml ) Need Help??


in reply to Re: Hash of Regex
in thread Hash of Regex

Or to state nvivek's point another way:

/int\(\d+\)/ is not a regular expression

It is the match operator //

with a regular expression int\(\d+\)

After all, you wouldn't write

$test =~ s//int\(\d+\)//int/gi;
would you?

--Greg

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2016-09-30 13:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (566 votes). Check out past polls.