millermedeiros / amd-utils

modular JavaScript utilities written in the AMD format
http://millermedeiros.github.com/amd-utils
142 stars 11 forks source link

add string/escapeRegExp #28

Closed millermedeiros closed 12 years ago

millermedeiros commented 12 years ago

copy RegExp from crossroads patternLexer: https://github.com/millermedeiros/crossroads.js/blob/master/dist/crossroads.js#L343