@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.
package/dist/index.js CHANGED
@@ -4680,7 +4680,7 @@ function isDigit(char) {
4680
4680
  return /\d/.test(char);
4681
4681
  }
4682
4682
  function stripOptionalDiacritics(word) {
4683
- return word.replace(/[ً-ْٰ]/g, "");
4683
+ return word.replace(/[\u064b-\u0652\u0670]/g, "");
4684
4684
  }
4685
4685
  function isAsciiLetter(char) {
4686
4686
  return /[a-zA-Z]/.test(char);