Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: [Try-out] Regexp do's and don'ts

by muba (Priest)
on Mar 28, 2005 at 11:21 UTC ( #442772=note: print w/ replies, xml ) Need Help??


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.

A few suggestions (I am a native speaker of (British) English):
Alright, thank you! I edited the Original Post in order to use most of your suggestions.

($untainted) = $tainted =~ m/(.*)/g;
($untainted) = $tainted =~ m/(.*)/g;
(And you just finished warning people not to use redundant qualifiers) :-)
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/(.*)/; :)

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.


Comment on Re^2: [Try-out] Regexp do's and don'ts
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://442772]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (14)
As of 2015-07-06 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls