develooper Front page | perl.perl5.porters | Postings from November 2000

[ID 20001108.001] UTF-8 Regexp Bug

From:
andreas.koenig
Date:
November 8, 2000 01:22
Subject:
[ID 20001108.001] UTF-8 Regexp Bug
Message ID:
m34s1i3jkg.fsf@ak-71.mind.de
This is a build failure report for perl from k@ak-71.mind.de,
generated with the help of perlbug 1.32 running under perl v5.7.0.


-----------------------------------------------------------------
[Please enter your report here]

This bug report was generated with vi on a Latin1 terminal and sent as
a Latin1 encoded mail. As the program itself is in pure ASCII, you
should be able to run it on any terminal.

All patches up to 7598 applied.

----This is bug.pl----
#!./miniperl -Ilib -l
use utf8;
$X = "Szab\x{f3},Bal\x{e1}zs";
print $X;                             # output correct as expected
$X =~ s/(B)/$1/ for 0..3;
print $X;                             # output hurts
__END__
----End of bug.pl----

----Output of bug.pl----
Szabó,Balázs
Szab�������������,Balázs
----End of output----

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=install
    severity=none
---
Site configuration information for perl v5.7.0:

Configured by k at Wed Nov  8 09:47:58 CET 2000.

Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.16a, archname=i686-linux
    uname='linux ak-71.mind.de 2.2.16a #1 smp wed jun 14 11:59:53 cest 2000 i686 unknown '
    config_args='-Dprefix=/usr/local/perl-5.7.0@7598 -Doptimize=-g -des -Dusedevel'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)', 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, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil
    libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    DEVEL7594

---
@INC for perl v5.7.0:
    lib
    /usr/local/perl-5.7.0@7598/lib/5.7.0/i686-linux
    /usr/local/perl-5.7.0@7598/lib/5.7.0
    /usr/local/perl-5.7.0@7598/lib/site_perl/5.7.0/i686-linux
    /usr/local/perl-5.7.0@7598/lib/site_perl/5.7.0
    /usr/local/perl-5.7.0@7598/lib/site_perl
    .

---
Environment for perl v5.7.0:
    HOME=/home/k
    LANG=en_US
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/k/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin:/usr/local/Office51/bin
    PERL_BADLANG (unset)
    SHELL=/bin/sh




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