@lokascript/framework 2.9.0 → 2.9.2

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.cjs CHANGED
@@ -4816,7 +4816,7 @@ function isDigit(char) {
4816
4816
  return /\d/.test(char);
4817
4817
  }
4818
4818
  function stripOptionalDiacritics(word) {
4819
- return word.replace(/[ً-ْٰ]/g, "");
4819
+ return word.replace(/[\u064b-\u0652\u0670]/g, "");
4820
4820
  }
4821
4821
  function isAsciiLetter(char) {
4822
4822
  return /[a-zA-Z]/.test(char);