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

[ID 20000903.001] \w in utf8-strings

Thread Next
From:
Marc Lehmann
Date:
September 3, 2000 00:44
Subject:
[ID 20000903.001] \w in utf8-strings
Message ID:
E13VUS5-0000cv-00.pgcc-forever-2000-09-03-09-44-29@fuji
This is a bug report for perl from root@cerebro.laendle,
generated with the help of perlbug 1.32 running under perl v5.7.0.


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

while debugging PApp for days since switching to utf8, I stumbled over yet
another problem:

\w doesn't include _ when utf8 is in effect:

# perl -e '"alpha_numeric" =~ /(\w+)/ and print $1'
alpha_numeric

# perl -e 'use utf8; :~# perl -e '"alpha_numeric" =~ /(\w+)/ and print $1'
alpha

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

Configured by root at Sat Sep  2 02:27:43 CEST 2000.

Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2, archname=i686-linux
    uname='linux cerebro 2.2.16 #6 smp tue aug 15 16:14:57 cest 2000 i686 unknown '
    config_args=''
    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='gcc', ccflags ='-I/usr/local/include -I/usr/app/include -fstrict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-Os -funroll-all-loops -mpentium', cppflags='-I/usr/local/include -I/usr/app/include -fstrict-aliasing'
    ccversion='', gccversion='pgcc-2.95.2 19991024 (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=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags ='-L/usr/local/lib -L/usr/app/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/app/lib
    libs=-ldl -lm -lc  -lcrypt
    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 -L/usr/app/lib'

Locally applied patches:
    DEVEL7001

---
@INC for perl v5.7.0:
    /usr/app/lib/perl5
    /usr/app/lib/perl5
    /usr/app/lib/perl5
    /usr/app/lib/perl5
    .

---
Environment for perl v5.7.0:
    HOME=/root
    LANG (unset)
    LANGUAGE (unset)
    LC_CTYPE=de_DE
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=:/usr/app/FM556_linux/bin:/root/cc/dejagnu/bin:.:/root/s:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/app/bin:/usr/app/sbin:/usr/X11/bin:/opt/jdk118/bin:/opt/bin:/localvol/usr/app/insure++/bin.linux
    PERLDB_OPTS=ornaments=0
    PERL_BADLANG (unset)
    SHELL=/bin/bash


Thread Next


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