Good point about the filenames. I can adjust that later. I was only paying attention to the matching part, but it's also nice to have the formatting issues in mind.
----- Original Message ----- From: "King, Jason G" <[EMAIL PROTECTED]> Date: Mon, 9 Dec 2002 11:55:48 +1000 To: <[EMAIL PROTECTED]> Subject: RE: regex question > Dmitry writes.. > > >That was an interesting one, very well spotted, thanks. It > >only took a couple of minutes to figure out though. It was > >just a matter of adding ">$" to the unless loops. Anyway, here > >is the fixed version. > > That's got it. > > I can't think of any other issues, except trivial things like that your > formatting which replaces multiple spaces with a single space could > wreck a filename or other value that was meant to contain those multiple > spaces. IIRC *nix filenames can even have LF characters in them, so two > lines could break those. > > -- > Jason King > _______________________________________________ > ActivePerl mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup One click access to the Top Search Engines http://www.exactsearchbar.com/mailcom _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
