Question on code patches
What is the best way to submit patches or new code for NSIS? Context diff, not at all?

The following is a totally trivial hack to NSIS but if I add regex support I am wondering how to submit the patches.

I have made a couple local additions to my NSIS code base that are used for converting and escaping paths.

GetCygwinPath (user_var: output) dosPath
EscPathSeparators (user_var: output) dosPath

The former will generate a cygwin compatible path:

input: c:\path\to\a\file\or\dir
output: /cygdrive/c/path/to/a/file/or/dir

The latter will escape a dos path for use in generating path includes in scripts or web pages:

input: c:\a\dos\path
output: c:\\a\\dos\\path

Simple but useful. I think a better way to implement these would be to add regex support (trivial to implement) but I had even less time to get a product out the door.