@lokascript/framework 2.9.0 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -324,7 +324,7 @@ function isDigit(char) {
324
324
  return /\d/.test(char);
325
325
  }
326
326
  function stripOptionalDiacritics(word) {
327
- return word.replace(/[ً-ْٰ]/g, "");
327
+ return word.replace(/[\u064b-\u0652\u0670]/g, "");
328
328
  }
329
329
  function isAsciiLetter(char) {
330
330
  return /[a-zA-Z]/.test(char);