Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 having an uproarious good time at the Monastery: (4)
As of 2014-09-17 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (55 votes), past polls