On 8/31/06, Matt McCutchen <hashproduct+rsync at gmail.com> wrote: > However, you need to backslash backslashes themselves in addition to $, @, and %. Oops, never mind that! That breaks all the other escape sequences. Maybe instead ban \$, \@, and \% in the input by replacing the \D with something along the lines of [^\d$@%]. Matt