Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Extracting Strings - Special Cases

by choroba (Canon)
on Jan 07, 2013 at 13:21 UTC ( #1012030=note: print w/ replies, xml ) Need Help??


in reply to Extracting Strings - Special Cases

You are printing $_, i.e. the whole line. You only want to print the matched part, i.e. $1 for the first parentheses.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Extracting Strings - Special Cases
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2015-08-05 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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













    Results (81 votes), past polls