Welcome to the Monastery | |
PerlMonks |
Re: RegEx revision neededby Wonko the sane (Deacon) |
on Oct 09, 2003 at 13:48 UTC ( [id://297911]=note: print w/replies, xml ) | Need Help?? |
The entries you are missing in your output seem to be the numbers denoted by 'SW:'. Neither of your regexes attempt to match for this at all. The 'SW;' numbers also seem to have a unique trait that spaces are allowed as part of the data. 'SW: 1.00.00 S' The following is a modification of your loop that gives the output you specified.
Outputs: Hope that helps. Wonko
In Section
Seekers of Perl Wisdom
|
|