News for hackers. Stuff that matters.
Re:Stop avoiding regular expressions damn it by Su-Shee on Sunday May 12, 2013 @10:25AM (#5694348)
Many programming languages have a function for that to do that for you...

In Perl, it's called quotemeta (qw, qq and family, too), in Python and Ruby it's .escape... and there's always \Q ... \E to use...

I'm sure others have similar methods/functions.

There are no comments on this comment yet.