Front page | perl.perl5.porters |
Postings from November 1999
[ID 19991110.002] minimal matching discrepancy found by pcre author
Thread Previous
|
Thread Next
From:
Jarkko Hietaniemi
Date:
November 10, 1999 04:55
Subject:
[ID 19991110.002] minimal matching discrepancy found by pcre author
Message ID:
199911101255.OAA16865@mimosa.hut.fi
This is a bug report for perl from jhi@mimosa.hut.fi,
generated with the help of perlbug 1.27 running under perl 5.00562.
-----------------------------------------------------------------
[Please enter your report here]
The author of the PCRE (Perl-Compatible Regular Expressions)
(ftp://ftp.cus.cam.ac.uk/pub/software/programs/pcre/), Philip Hazel,
has noticed the following oddity in Perl (back in 5.005_02, but it
still seems to be present). Surely the below examples should work
similarly (the second one should print "bb")?
./perl -wle '"aba" =~ /^(a(b)?)+$/;print $2'
b
./perl -wle '"aabbaa" =~ /^(aa(bb)?)+$/;print $2'
Use of uninitialized value at -e line 1.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Site configuration information for perl 5.00562:
Configured by jhi at Wed Nov 10 01:04:17 EET 1999.
Summary of my perl5 (revision 5.0 version 5 subversion 62) configuration:
Platform:
osname=solaris, osvers=2.7, archname=sun4-solaris
uname='sunos mimosa.hut.fi 5.7 generic_106541-05 sun4u sparc '
config_args='-ders -Dcc=gcc'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
use64bits=undef usemultiplicity=undef
Compiler:
cc='gcc', optimize='-O', gccversion=2.8.1
cppflags='-DUSE_LARGE_FILES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccflags ='-DUSE_LARGE_FILES -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=16
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' '
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt -lsec
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G'
Locally applied patches:
---
@INC for perl 5.00562:
lib
/u/vieraat/vieraat/jhi/Perl/lib
/opt/lib/perl5/5.00562/sun4-solaris
/opt/lib/perl5/5.00562
/opt/lib/site_perl/5.00562/sun4-solaris
/opt/lib/site_perl
.
---
Environment for perl 5.00562:
HOME=/u/vieraat/vieraat/jhi
LANG=C
LANGUAGE (unset)
LC_CTYPE=iso_8859_1
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/u/vieraat/vieraat/jhi/.s:/p/bin:/p/adm/bin:/usr/bin:/usr/sbin:/sbin:/bin:/usr/ccs/bin:/usr/lib:/etc:/lib:/p/X6/bin:/usr/bin/X11:/usr/lib/acct:/usr/5bin:/u/vieraat/vieraat/jhi
PERLLIB=/u/vieraat/vieraat/jhi/Perl/lib
PERL_BADLANG (unset)
SHELL=/bin/zsh
Thread Previous
|
Thread Next