From owner-freebsd-current@FreeBSD.ORG Wed Dec 1 16:29:57 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFFD716A4CE for ; Wed, 1 Dec 2004 16:29:57 +0000 (GMT) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F71843D54 for ; Wed, 1 Dec 2004 16:29:57 +0000 (GMT) (envelope-from DAntrushin@mail.ru) Received: from [81.3.158.67] (port=59546 helo=[129.159.124.237]) by mx2.mail.ru with esmtp id 1CZXMZ-0002pk-00; Wed, 01 Dec 2004 19:29:56 +0300 Message-ID: <41ADF1C3.3090902@mail.ru> Date: Wed, 01 Dec 2004 19:30:59 +0300 From: Denis Antrushin User-Agent: Mozilla Thunderbird 0.9 (X11/20041119) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Leidinger References: <1101908414.41adc9be50c73@netchild.homeip.net> <41ADD1DA.9000509@mail.ru> <1101916817.41adea91726c7@netchild.homeip.net> In-Reply-To: <1101916817.41adea91726c7@netchild.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected cc: current@freebsd.org Subject: Re: Bug in our ru_RU.KOI8-R locale (with patch)? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2004 16:29:57 -0000 Alexander Leidinger wrote: > Zitat von Denis Antrushin : > > >>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. >