Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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


Comment on Re^2: Hash of Regex
Select or Download Code

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 imbibing at the Monastery: (10)
As of 2015-07-29 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls