RegExp unicodeSets
Examples
const pattern = /W3Schools/;
let result = pattern.unicodeSets;
Try it Yourself »let result = pattern.unicodeSets;
const pattern = /W3Schools/v;
let result = pattern.unicodeSets;
Try it Yourself »let result = pattern.unicodeSets;
Description
TheunicodeSet property returnstrue if theu flag is set in the expression.
Syntax
regexp.unicodeSets
Parameters
| NONE |
Return Value
| Type | Description |
|---|---|
| Boolean | true if the v modifier is set, otherwisefalse. |
Browser Support
regexp.unicodeSets is a JavaScript 2023 feature.
ES 2023 is supported in all modern browsers sinceJuly 2023:
| Chrome 110 | Edge 110 | Firefox 115 | Safari 16.4 | Opera 96 |
| Feb 2023 | Feb 2023 | Jul 2023 | Mar 2023 | May 2023 |

