(s)
| 890 | // http://docs.closure-library.googlecode.com/git/local_closure_goog_string_string.js.source.html#line1021 |
| 891 | // Prereq: s is a string. |
| 892 | var escapeForRegexp = function(s) { |
| 893 | return s |
| 894 | .replace(/([-()[\]{}+?*.$^|,:#<!\\])/g, '\\$1') |
| 895 | // eslint-disable-next-line no-control-regex |
| 896 | .replace(/\x08/g, '\\x08'); |
| 897 | }; |
| 898 | |
| 899 | |
| 900 | /** |
no outgoing calls
no test coverage detected