Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Assigning REGEX Match to a separate variable?

by mmartin (Monk)
on Apr 02, 2012 at 16:54 UTC ( #963062=note: print w/ replies, xml ) Need Help??


in reply to Re: Assigning REGEX Match to a separate variable?
in thread Assigning REGEX Match to a separate variable?

Hey choroba,

Thanks for your quick reply!!
"perlop" that's the perldoc I was looking for... Searched every where for that. Thanks.

Ok, cool so using the parenthesis allows you to pull out the actual matched string (i.e. $1) instead of getting just a true or false...
Good deal... It worked! Thanks!

Thanks Again,
Matt


Comment on Re^2: Assigning REGEX Match to a separate variable?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2014-07-29 20:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (227 votes), past polls