@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.
@@ -126,7 +126,7 @@ function isDigit(char) {
126
126
  return /\d/.test(char);
127
127
  }
128
128
  function stripOptionalDiacritics(word) {
129
- return word.replace(/[ً-ْٰ]/g, "");
129
+ return word.replace(/[\u064b-\u0652\u0670]/g, "");
130
130
  }
131
131
  function isAsciiLetter(char) {
132
132
  return /[a-zA-Z]/.test(char);