Replace String.match() with RegExp.test()
Replace String.match() with RegExp.test()

It's faster and doesn't allocate a new array in memory every time the string matches the regular expression. http://stackoverflow.com/a/10940138/1397319

I've also removed an extraneous loop in the `assign()` function.
analog-nico/stealthy-require