escape method Null safety
- String text
Returns a regular expression that matches
text contains characters that are meaningful in regular expressions,
the resulting regular expression will match those characters literally.
text contains no characters that have special meaning in a regular
expression, it is returned unmodified.
The characters that have special meaning in regular expressions are:
external static String escape(String text);