Closed jarofghosts closed 10 years ago
Creating a new RegExp is unnecessary and (albeit trivially so) less performant than simply using the literal form.
new RegExp
Super minor change, but it stood out to me as I was reading through the source.
Creating a
new RegExp
is unnecessary and (albeit trivially so) less performant than simply using the literal form.Super minor change, but it stood out to me as I was reading through the source.