Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/\h/ not equiv to /[\h]/ #12289

Closed
p5pRT opened this issue Jul 20, 2012 · 9 comments
Closed

/\h/ not equiv to /[\h]/ #12289

p5pRT opened this issue Jul 20, 2012 · 9 comments

Comments

@p5pRT
Copy link

p5pRT commented Jul 20, 2012

Migrated from rt.perl.org#114220 (status was 'resolved')

Searchable as RT114220$

@p5pRT
Copy link
Author

p5pRT commented Jul 20, 2012

From @ikegami

Created by @ikegami

  $ perl -le'print "\xA0" =~ /\h/ ?1​:0'
  1

  $ perl -le'print "\xA0" =~ /[\h]/ ?1​:0'
  0

Both true with /u.

This is perl 5, version 16, subversion 0 (v5.16.0) built for
x86_64-linux-thread-multi

Perl Info

Flags:
    category=core
    severity=low

Site configuration information for perl 5.16.0:

Configured by eric at Tue May 22 01:57:47 EDT 2012.

Summary of my perl5 (revision 5 version 16 subversion 0) configuration:

  Platform:
    osname=linux, osvers=2.6.32-5-amd64, archname=x86_64-linux-thread-multi
    uname='linux eric 2.6.32-5-amd64 #1 smp mon mar 26 07:00:19 utc 2012
x86_64 gnulinux '
    config_args='-de -Dprefix=/home/eric/usr/perlbrew/perls/5.16.0t
-DPERL_SUB_DEPTH_WARN=1000 -Dusethreads'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -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 -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=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, 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/lib64
    libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.11.3.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.11.3'
  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'

Locally applied patches:



@INC for perl 5.16.0:

/home/eric/usr/perlbrew/perls/5.16.0t/lib/site_perl/5.16.0/x86_64-linux-thread-multi
    /home/eric/usr/perlbrew/perls/5.16.0t/lib/site_perl/5.16.0

/home/eric/usr/perlbrew/perls/5.16.0t/lib/5.16.0/x86_64-linux-thread-multi
    /home/eric/usr/perlbrew/perls/5.16.0t/lib/5.16.0
    .


Environment for perl 5.16.0:
    HOME=/home/eric
    LANG=en_CA.UTF-8
    LANGUAGE=en_CA:en
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

PATH=/home/eric/usr/perlbrew/bin:/home/eric/usr/perlbrew/perls/5.16.0t/bin:.:/home/eric/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    PERLBREW_BASHRC_VERSION=0.43
    PERLBREW_HOME=/home/eric/.perlbrew
    PERLBREW_MANPATH=/home/eric/usr/perlbrew/perls/5.16.0t/man

PERLBREW_PATH=/home/eric/usr/perlbrew/bin:/home/eric/usr/perlbrew/perls/5.16.0t/bin
    PERLBREW_PERL=5.16.0t
    PERLBREW_ROOT=/home/eric/usr/perlbrew
    PERLBREW_VERSION=0.42
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Jul 20, 2012

From @khwilliamson

It turns out that this bug has already been fixed in blead. But if this
regression should be fixed in the 5.16 maintenance series, a separate
(trivial) patch would have to be written for that

--
Karl Williamson

@p5pRT
Copy link
Author

p5pRT commented Jul 20, 2012

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jul 20, 2012

From @ikegami

On Fri, Jul 20, 2012 at 2​:18 PM, Karl Williamson via RT <
perlbug-followup@​perl.org> wrote​:

It turns out that this bug has already been fixed in blead. But if this
regression should be fixed in the 5.16 maintenance series, a separate
(trivial) patch would have to be written for that

Considering the patch is trivial and 5.10, 5.12 and 5.14 don't suffer from
the bug, I would like to see this fixed in 5.16.1

@p5pRT
Copy link
Author

p5pRT commented Jul 20, 2012

From @rjbs

* Eric Brine <ikegami@​adaelis.com> [2012-07-20T15​:49​:43]

On Fri, Jul 20, 2012 at 2​:18 PM, Karl Williamson via RT <
perlbug-followup@​perl.org> wrote​:

It turns out that this bug has already been fixed in blead. But if this
regression should be fixed in the 5.16 maintenance series, a separate
(trivial) patch would have to be written for that

Considering the patch is trivial and 5.10, 5.12 and 5.14 don't suffer from
the bug, I would like to see this fixed in 5.16.1

I am also in favor.

--
rjbs

@p5pRT
Copy link
Author

p5pRT commented Jul 22, 2012

From @khwilliamson

On Fri Jul 20 13​:23​:42 2012, perl.p5p@​rjbs.manxome.org wrote​:

* Eric Brine <ikegami@​adaelis.com> [2012-07-20T15​:49​:43]

On Fri, Jul 20, 2012 at 2​:18 PM, Karl Williamson via RT <
perlbug-followup@​perl.org> wrote​:

It turns out that this bug has already been fixed in blead. But
if this
regression should be fixed in the 5.16 maintenance series, a separate
(trivial) patch would have to be written for that

Considering the patch is trivial and 5.10, 5.12 and 5.14 don't
suffer from
the bug, I would like to see this fixed in 5.16.1

I am also in favor.

A patch is smoking at remotes/origin/smoke-me/khw-maint5.16_bug114220

--
Karl Williamson

@p5pRT
Copy link
Author

p5pRT commented Oct 11, 2012

From @rjbs

Thanks, applied as f535073.

@p5pRT
Copy link
Author

p5pRT commented Oct 11, 2012

From [Unknown Contact. See original ticket]

Thanks, applied as f535073.

@p5pRT
Copy link
Author

p5pRT commented Oct 11, 2012

@rjbs - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant