anyway i can see a problem in svn version of locale.php, problem comes with non-english languages, for example in italian the word "yes" is translated into "sì", well... the generated regexp seems to be something like

[s|S][ì|ì]

but the problem is that we should also add the ì char without the accent, to have something like