Date: Wed, 01 Dec 2004 19:30:59 +0300 From: Denis Antrushin <DAntrushin@mail.ru> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: current@freebsd.org Subject: Re: Bug in our ru_RU.KOI8-R locale (with patch)? Message-ID: <41ADF1C3.3090902@mail.ru> In-Reply-To: <1101916817.41adea91726c7@netchild.homeip.net> References: <1101908414.41adc9be50c73@netchild.homeip.net> <41ADD1DA.9000509@mail.ru> <1101916817.41adea91726c7@netchild.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote: > Zitat von Denis Antrushin <DAntrushin@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. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41ADF1C3.3090902>