dojo.regexp.escapeString
dojo.require("dojo.regexp");
defined in dojo/regexp.js
Adds escape sequences for special characters in regular expressions
parameter | type | description |
---|---|---|
str | String | |
except | String | Optional. a String with special characters to be left unescaped |