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

Re: Extracting Strings - Special Cases

by choroba (Chancellor)
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.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012030]
help
Chatterbox?
and God said, "Let Newton be!"...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-05-01 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (545 votes). Check out past polls.