Set Matching Regular Expression Based On Platform

Change regular expression to match either "/" or "\" based on
the platform.
Merge pull request #13 from pamaddox/master

Set Matching Regular Expression Based On Platform