wycats/thor — pull request #233 by bklang (2012-06-14 21:46:22+00:00)
Title: Escape path strings to avoid tripping up the regex

This prevents tmp directories like "/var/folders/TT/TTeZp5JaF4y7rWPBqCM44U+++TI/-Tmp-/HcLtmr36-K3cA-F9vK-1FGl-hTrvaUr1BISG" from causing RegexpError exceptions like "nested *?+ in regexp: /^\/var\/folders\/TT\/TTeZp5JaF4y7rWPBqCM44U+++TI\/-Tmp-\/HcLtmr36-K3cA-F9vK-1FGl-hTrvaUr1BISG/"