in reply to Re: [Try-out] Regexp do's and don'ts
in thread Regexp do's and don'ts
Good document. I can hardly fault it technically.Alright, thank you! I edited the Original Post in order to use most of your suggestions.
A few suggestions (I am a native speaker of (British) English):
Oh, I had a really hard time finding out what the difference between the two lines of code is. But indeed. I altered it, so now it is ($untainted) = $tainted =~ m/(.*)/; :)($untainted) = $tainted =~ m/(.*)/g;($untainted) = $tainted =~ m/(.*)/g;
(And you just finished warning people not to use redundant qualifiers) :-)
Well, thanks!
"2b"||!"2b";$$_="the question"
Besides that, my code is untested unless stated otherwise.
One more: please review the article about regular expressions (do's and don'ts) I'm working on.
In Section
Meditations