Re: Bug in our ru_RU.KOI8-R locale (with patch)?

From: Denis Antrushin <DAntrushin_at_mail.ru>
Date: Wed, 01 Dec 2004 19:30:59 +0300
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.
> 
Received on Wed Dec 01 2004 - 15:29:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:23 UTC