I wish I could search for a substring with a given locale's semantics in JS. It would be to String.prototype.includes what Intl.Collator().compare is to String comparison. @jorendorff @mathias Am i missing an API that can do this, or could this be a useful spec addition?
-
-
But if I want to get a substring match when only the base chars match (base as in Intl.Collator options `sensitivity: "base"` value), it is not enough to normalize both strings, right?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.