isEscapeRegExp property
String
isEscapeRegExp
Escapes the RegExp special characters "^", "$", "", ".", "*", "+", "?", "(", ")", "", "
", "{", "}", and "|" in string.
Example: "hello ^ world" -> "hello ^ world"
Implementation
String get isEscapeRegExp => escapeRegExp(this);