Bug in our ru_RU.KOI8-R locale (with patch)?
Denis Antrushin
DAntrushin at mail.ru
Wed Dec 1 08:29:57 PST 2004
Alexander Leidinger wrote:
> Zitat von Denis Antrushin <DAntrushin at mail.ru>:
>
>
>>First of all, test.txt is in CP1251 encoding, not KOI8-R ;-)
>
>
> Fine, this explains why it doesn't look right with KOI8-R.
>
>
>>>---snip---
>>>Match small (RegEx with i flag): 0
>>>Match small (RegEx without i flag): 8
>>>Match for normal (RegEx with i flag): 17
>>>Match for normal (RegEx without i flag): 9
>
>
>>This is what test gives me (transliterated to ascii):
>
>
> [Case -Check only]
>
> What about the case insensitive match? I assume it works as expected too.
'Match small' print 0
But if I remove 'g' suffix, i.e. use $line =~ m/$pushkin_small/is,
then it print 17
>
> Thanks,
> Alexander.
>
More information about the freebsd-current
mailing list