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