Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: new line every matchby ww (Archbishop) |
on Jul 06, 2012 at 22:54 UTC ( [id://980392]=note: print w/replies, xml ) | Need Help?? |
A number of other issues have already been addressed, but not the poor design of the regex. It's hard to imagine a regex much more fragile than your /(address............)/ #13 dots for 13 characters. Will you never need to deal with address 6435 main ave or address 643 main st? Update re reply: ... then the regex (still fragile, IMO because I don't believe in perfect data) might be more readably written as
In Section
Seekers of Perl Wisdom
|
|