chrisdickinson/glslify — pull request #6 by mikolalysenko (2014-03-05 00:01:54+00:00)
Title: fixed regular expression bug

Using `/g` for the regular expression prevents it from being used multiple times. Since it doesn't seem like these semantics are needed I removed the qualifier.

Previously, running glslify on multiple modules would fail since it would only successfully match the first occurrence.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test