(s)
| 746 | // http://docs.closure-library.googlecode.com/git/local_closure_goog_string_string.js.source.html#line1021 |
| 747 | // Prereq: s is a string. |
| 748 | var escapeForRegexp = function(s) { |
| 749 | return s.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g, '\\$1'). |
| 750 | replace(/\x08/g, '\\x08'); |
| 751 | }; |
| 752 | |
| 753 | |
| 754 | /** |
no outgoing calls
no test coverage detected