Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Partial string match -- with a twist.

by SuicideJunkie (Vicar)
on Jul 20, 2012 at 13:28 UTC ( #982824=note: print w/ replies, xml ) Need Help??


in reply to Partial string match -- with a twist.

See: Capture groups

Basically, just slap some brackets around your node[0-9], and that portion of the string will be saved into the $1 variable for you to use later.


Comment on Re: Partial string match -- with a twist.
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2015-08-01 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found
    past polls