June 11, 2003

quotemeta

In case you are ever doing regexp with Perl, a good thing to remember is the quotemeta command. This allows you to escape (addslashes) to everything that isn't a regular character or number. Otherwise your regexp can get hosed.

Posted by torque at June 11, 2003 11:10 AM | TrackBack
Comments
Post a comment









Remember personal info?