Front page | perl.perl5.porters |
Postings from December 2013
[perl #120799] 5.18 regression with [:^ascii] and \x80-\xFF
Thread Previous
From:
karl williamson
Date:
December 16, 2013 14:50
Subject:
[perl #120799] 5.18 regression with [:^ascii] and \x80-\xFF
Message ID:
rt-4.0.18-16756-1387205397-1512.120799-75-0@perl.org
# New Ticket Created by karl williamson
# Please include the string: [perl #120799]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=120799 >
This is a bug report for perl from khw@cpan.org,
generated with the help of perlbug 1.39 running under perl 5.19.7.
-----------------------------------------------------------------
"\x80" =~ /[_[:^ascii:]]/d;
no longer matches as of 5.18; whereas it previously did. This bug
happens for all target string characters in the range \x80 through \xFF.
The bug doesn't happen if the bracketed character class contains only a
single element, the [:^ascii:]. This example uses an underscore for
the purpose of getting at least 2 elements in the class.
The bug is only for [:^ascii:]. The other posix classes work correctly.
-----------------------------------------------------------------
---
Flags:
category=core
severity=medium
---
Site configuration information for perl 5.19.7:
Configured by khw at Sat Dec 14 17:12:55 MST 2013.
Summary of my perl5 (revision 5 version 19 subversion 7) configuration:
Commit id: 4cb2d3f84a9b1e2c2b94017be5dcd72f24935669
Platform:
osname=linux, osvers=2.6.35-32-generic-pae,
archname=i686-linux-thread-multi-64int-ld
uname='linux karl 2.6.35-32-generic-pae #67-ubuntu smp mon mar 5
21:23:19 utc 2012 i686 gnulinux '
config_args='-des -Dprefix=/home/khw/fastbleadperl -Dusedevel
-Accflags='-DPERL_BOOL_AS_CHAR' -Dman1dir=none -Dman3dir=none
-Dusemorebits -Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=define
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DPERL_BOOL_AS_CHAR
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DPERL_BOOL_AS_CHAR
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.5', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='long double', nvsize=12,
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/../lib /usr/lib/../lib /lib /usr/lib
/usr/lib/i686-linux-gnu
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.12.1.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.12.1'
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'
---
@INC for perl 5.19.7:
/home/khw/perl/fastblead/lib
/home/khw/fastbleadperl/lib/site_perl/5.19.7/i686-linux-thread-multi-64int-ld
/home/khw/fastbleadperl/lib/site_perl/5.19.7
/home/khw/fastbleadperl/lib/5.19.7/i686-linux-thread-multi-64int-ld
/home/khw/fastbleadperl/lib/5.19.7
/home/khw/fastbleadperl/lib/site_perl
.
---
Environment for perl 5.19.7:
HOME=/home/khw
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/khw/bin:/home/khw/perl5/perlbrew/bin:/home/khw/print/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/usr/games:/home/khw/cxoffice/bin
PERL5OPT=-w
PERL_BADLANG (unset)
PERL_POD_PEDANTIC=1
SHELL=/bin/ksh
Thread Previous