Detect regex library.

Issue:	#17
Reported by:	@mitchellh