develooper Front page | perl.perl5.porters | Postings from December 2009

[perl #71732] regex match of Above Latin1 character with ASCII fold doesnt work if the fold has a quantifier

From:
karl williamson
Date:
December 30, 2009 06:18
Subject:
[perl #71732] regex match of Above Latin1 character with ASCII fold doesnt work if the fold has a quantifier
Message ID:
rt-3.6.HEAD-1505-1262124567-1763.71732-75-0@perl.org
# New Ticket Created by  karl williamson 
# Please include the string:  [perl #71732]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=71732 >


This is a bug report for perl from khw@khw-desktop.nonet,
generated with the help of perlbug 1.39 running under perl 5.11.3.


-----------------------------------------------------------------
my $c = "\x{017F}"; $c =~ /^\x{0073}*$/i
doesn't work, and should.

-----------------------------------------------------------------
---
Flags:
     category=core
     severity=medium
---
Site configuration information for perl 5.11.3:

Configured by khw at Tue Dec 29 12:45:43 MST 2009.

Summary of my perl5 (revision 5 version 11 subversion 3) configuration:
   Commit id: 9f815e241cf04d04fc645970753438216a0ed024
   Platform:
     osname=linux, osvers=2.6.27-16-generic, archname=i686-linux
     uname='linux khw-desktop 2.6.27-16-generic #1 smp tue dec 1 
17:56:54 utc 2009 i686 gnulinux '
     config_args='-s -d -Dprefix=/home/khw/fastbleadperl -Dusedevel'
     hint=recommended, useposix=true, d_sigaction=define
     useithreads=undef, usemultiplicity=undef
     useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
     use64bitint=undef, use64bitall=undef, uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
     optimize='-O2',
     cppflags='-fno-strict-aliasing -pipe -fstack-protector 
-I/usr/local/include'
     ccversion='', gccversion='4.3.2', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
     alignbytes=4, prototype=define
   Linker and Libraries:
     ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib
     libs=-lnsl -ldl -lm -lcrypt -lutil -lc
     perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
     libc=/lib/libc-2.8.90.so, so=so, useshrplib=false, libperl=libperl.a
     gnulibc_version='2.8.90'
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
     cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib 
-fstack-protector'

Locally applied patches:


---
@INC for perl 5.11.3:
     /home/khw/fastbleadperl/lib/site_perl/5.11.3/i686-linux
     /home/khw/fastbleadperl/lib/site_perl/5.11.3
     /home/khw/fastbleadperl/lib/5.11.3/i686-linux
     /home/khw/fastbleadperl/lib/5.11.3
     .

---
Environment for perl 5.11.3:
     HOME=/home/khw
     LANG=en_US.UTF-8
     LANGUAGE (unset)
     LD_LIBRARY_PATH (unset)
     LOGDIR (unset)
 
PATH=/home/khw/bin:/home/khw/print/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/usr/games:/opt/real/RealPlayer:/home/khw/cxoffice/bin
     PERL_BADLANG (unset)
     SHELL=/bin/ksh




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About