Replacing tango.text.Ascii.isearch
rikki cattermole
rikki at cattermole.co.nz
Thu Oct 13 08:30:04 UTC 2022
On 13/10/2022 9:27 PM, bauss wrote:
> This doesn't actually work properly in all languages. It will probably
> work in most, but it's not entirely correct.
>
> Ex. Turkish will not work with it properly.
>
> Very interesting article:
> http://www.moserware.com/2008/02/does-your-code-pass-turkey-test.html
Yes turkic languages, they require a state machine and quite a bit of
LUTs to work correctly.
You also need to provide a language and it has to operate on the whole
string, not individual characters.
I didn't think it was relevant since Ascii was in the original post ;)
More information about the Digitalmars-d-learn
mailing list