swc-windows-installer.py: Use regular expressions to POSIX-ify paths
authorW. Trevor King <wking@tremily.us>
Wed, 13 Nov 2013 16:12:58 +0000 (08:12 -0800)
committerW. Trevor King <wking@tremily.us>
Wed, 13 Nov 2013 16:58:23 +0000 (08:58 -0800)
commit70c97fca300d0f2cb9e7c565faa222ba1de9f3bb
tree3364d30828bda53eef8da697e39552980881264a
parentc6691358526b7f77e1d23649c765d605b554fb93
swc-windows-installer.py: Use regular expressions to POSIX-ify paths

On a Windows 7 SP1 box with Python 2.7.3:

  >>> import os.path
  >>> os.path.expanduser('~')
  'c:/Users/JohnDoe'

That wasn't matching the previous POSIX-ification patterns, which
assumed the drive prefix would be uppercase (C:).  Now we use a
regular expression to match both cases.
swc-windows-installer.py