Closed Elfrey closed 3 months ago
The regex [A-Za-z0-9 .*_-] only includes English letters and digits. To make this regex work with any language, we can use Unicode property escapes, which are supported in modern JavaScript engines.
Thank you for the pull request, but I went about fixing it slightly differently!
The regex [A-Za-z0-9 .*_-] only includes English letters and digits. To make this regex work with any language, we can use Unicode property escapes, which are supported in modern JavaScript engines.