mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
197 B
197 B
id | title |
---|---|
76fc0a0a-7d56-49c7-8c57-7686cca110fc | JavaScript RegExp /u flag |
This flag matches astral characters such as emojis:
console.log(/^.$/u.test("🙂")); // true