(s)
| 669 | // http://docs.closure-library.googlecode.com/git/local_closure_goog_string_string.js.source.html#line1021 |
| 670 | // Prereq: s is a string. |
| 671 | var escapeForRegexp = function(s) { |
| 672 | return s.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g, '\\$1'). |
| 673 | replace(/\x08/g, '\\x08'); |
| 674 | }; |
| 675 | |
| 676 | |
| 677 | /** |
no outgoing calls
no test coverage detected