Escapes characters from the given string so that it can be used within a RegExp without being parsed as RegExp syntax.
@augment-vir/common
Escapes characters from the given string so that it can be used within a RegExp without being parsed as RegExp syntax.