1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
{{alias}}()
Returns a regular expression to match a UTF-16 surrogate pair.
Returns
-------
re: RegExp
Regular expression.
Examples
--------
> var RE = {{alias}}();
> var bool = RE.test( 'abc\uD800\uDC00def' )
true
> bool = RE.test( 'abcdef' )
false
{{alias}}.REGEXP
Regular expression to match a UTF-16 surrogate pair.
Examples
--------
> var RE = {{alias}}.REGEXP;
> var bool = RE.test( 'abc\uD800\uDC00def' )
true
> bool = RE.test( 'abcdef' )
false
See Also
--------
|