For me (Delphi2010) the fix for this issue was extending of the checks "CharIsAlpha" and "WideCharIsWordChar" (see attached patch).