Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 musing on the Monastery: (9)
As of 2015-05-05 04:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (110 votes), past polls