String comparison with a collation in javascript?

The only thing I can think of is pretty brute-force. If any character in the input string is known to have one or more accented forms, replace it with a character class containing all of the forms when you create the regex. For example, for the input string Huske the regex might be Huùúûüskeèéêë.

The only thing I can think of is pretty brute-force. If any character in the input string is known to have one or more accented forms, replace it with a character class containing all of the forms when you create the regex. For example, for the input string Huske, the regex might be /Huùúûüskeèéêë/.

Yes, I can imagine how that would work. The function that transforms the search key into an RE with charsets (like in your example) would understand the collation. I guess it makes sense when testing many strings against few keys.An alternative would be to normalize both keys and subject strings using similar transforms – that would yield faster REs but require a lot of transformations.

– fsb Apr 14 '10 at 16:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions