|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: using regular expression to extract subset from a lineby DamnDirtyApe (Curate) |
| on Dec 30, 2004 at 14:54 UTC ( [id://418369]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I'll leave the analysis of what you've got to someone who's better at regexps than I, but if you're simply looking to extract the argument from a space-delimited string that ends in "makefile", try something simpler like this:
HTH Update: You could do this with split and grep also:
_______________ DamnDirtyApe
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||