Do not use regex on win32.

Issue:	#17
Reported by:	@mitchellh