time-to-botec/squiggle/node_modules/@stdlib/regexp/utf16-unpaired-surrogate/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

31 lines
547 B
Plaintext

{{alias}}()
Returns a regular expression to match an unpaired UTF-16 surrogate.
Returns
-------
re: RegExp
Regular expression.
Examples
--------
> var RE = {{alias}}();
> var bool = RE.test( 'abc' )
false
> bool = RE.test( '\uD800' )
true
{{alias}}.REGEXP
Regular expression to match an unpaired UTF-16 surrogate.
Examples
--------
> var RE = {{alias}}.REGEXP;
> var bool = RE.test( 'abc' )
false
> bool = RE.test( '\uD800' )
true
See Also
--------