mixu/gluejs — pull request #13 by ngryman (2013-04-19 20:30:00+00:00)
Title: Can exclude string paths with Windows support

Hi,

This PR makes `#exclude` work properly with `string` parameters, with Windows paths support. This is related to #12.

The `substr` comparison always failed as the starting index was wrong, if comparing with the end of the path was what you wanted.

As the `expr` was not normalized, path comparison failed under Windows because registered paths were already normalized.