Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: One true regexp for untainting windows filenames?by jaldhar (Vicar) |
on Jan 08, 2009 at 23:42 UTC ( [id://735047]=note: print w/replies, xml ) | Need Help?? |
Thanks for the tip. I found slightly more understandable code in File::Spec which has resulted in the following regexps: for Unix... ...and Windows (includes UNC paths)...
--
In Section
Seekers of Perl Wisdom
|
|