Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Hash of Regex

by Anonymous Monk
on Apr 07, 2010 at 18:49 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://833377]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 04:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found