ECMAScript 2015 introduces two new flags for regular expressions: y enables ‘sticky’ matching. u enables various Unicode-related features. This article explains the effects of the u flag. It helps if you’ve read JavaScript has a Unicode problem first. Impact on syntax Setting the u flag on a regular expression enables the use of ES2015 Unicode code point escapes (\u{…}) in the pattern. // Note: `a