time-to-botec/js/node_modules/@stdlib/utils/escape-regexp-string/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

23 lines
320 B
Plaintext

{{alias}}( str )
Escapes a regular expression string.
Parameters
----------
str: string
Regular expression string.
Returns
-------
out: string
Escaped string.
Examples
--------
> var str = {{alias}}( '[A-Z]*' )
'\\[A\\-Z\\]\\*'
See Also
--------