note
robin
<p>Using <tt>glob</tt> is a delightful trick, but in general you really need to escape the string much more than this. (To see what I mean, try putting a <tt>*</tt> in one of the strings.)</p>
<p>Instead of <tt>s/ /\\ /g</tt>, use <tt>s/(\W)/\\\\\\$1/g</tt>. I know it’s a lot of backslashes, but you really do need that many here!</p>
504165
504355