31 lines
547 B
Plaintext
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
|
|
--------
|