Open robertknight opened 1 day ago
Simplify the utility for normalizing strings now that String.prototype.normalize and \p escapes [2] are widely available.
String.prototype.normalize
\p
[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize [2] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Unicode_character_class_escape#browser_compatibility
Simplify the utility for normalizing strings now that
String.prototype.normalize
and\p
escapes [2] are widely available.[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize [2] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Unicode_character_class_escape#browser_compatibility