Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 browsing the Monastery: (4)
As of 2015-09-01 04:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (367 votes), past polls