Front page | perl.perl5.porters |
Postings from December 2000
[ID 20001223.001] [bug? 5.6.0] \G in split pattern
Thread Next
From:
Hugo
Date:
December 23, 2000 08:12
Subject:
[ID 20001223.001] [bug? 5.6.0] \G in split pattern
Message ID:
200012231715.RAA15120@crypt.compulink.co.uk
This is a bug report for perl from hv@crypt.compulink.co.uk,
generated with the help of perlbug 1.28 running under perl v5.6.0.
-----------------------------------------------------------------
[Please enter your report here]
Not sure if this is a bug, but I thought it worth mentioning for
consideration.
crypt% ./perl -wle 'print join "*", split /\G(an|.)/, shift' banana
*b*anana
crypt%
I had hoped it would print something like "*b**an**an**a*". Result
is the same under bleadperl.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
ack=no
category=core
severity=low
---
Site configuration information for perl v5.6.0:
Configured by hv at Thu Mar 23 11:41:17 GMT 2000.
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.5-16, archname=i686-linux-64int
uname='linux crypt.compulink.co.uk 2.2.5-16 #1 sun may 30 23:00:18 bst 1999 i686 unknown '
config_args='-des -Doptimize=-g -O6 -Dprefix=/opt/perl-5.6.0.64bit -Duse64bitint'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=define use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-g -O6', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
cppflags='-DDEBUGGING -fno-strict-aliasing'
ccflags ='-DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, 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
libc=/lib/libc-2.1.1.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:
---
@INC for perl v5.6.0:
/opt/perl-5.6.0.64bit/lib/5.6.0/i686-linux-64int
/opt/perl-5.6.0.64bit/lib/5.6.0
/opt/perl-5.6.0.64bit/lib/site_perl/5.6.0/i686-linux-64int
/opt/perl-5.6.0.64bit/lib/site_perl/5.6.0
/opt/perl-5.6.0.64bit/lib/site_perl
.
---
Environment for perl v5.6.0:
HOME=/home/hv
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/hv/bin:/usr/bin:/usr/local/bin:/bin:/usr/X11R6/bin
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Next
-
[ID 20001223.001] [bug? 5.6.0] \G in split pattern
by Hugo