Last active
February 10, 2021 13:40
-
-
Save Fcmam5/8aac6deb8dad9f44aa897523b004c1e3 to your computer and use it in GitHub Desktop.
Berber (Tifinagh) regex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const REGEX = /^[\u2D30-\u2D7F\\s]+$/ | |
// Examples | |
console.log(REGEX.test("ⵡⴻⵀⵔⴰⵏ")); // True | |
console.log(REGEX.test("Oran")); // False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment