- Timestamp:
- Mar 16, 2019 11:47:40 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/js/Utilities.js
r671 r672 225 225 } 226 226 227 // https://github.com/benjamingr/RegExp.escape 228 if(!RegExp.escape){ 229 RegExp.escape = function(s){ 230 return String(s).replace(/[\\^$*+?.()|[\]{}]/g, '\\$&'); 231 }; 232 }
Note: See TracChangeset
for help on using the changeset viewer.