This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Restrict white space inside [] inside(?[ ]) to \h
authorKarl Williamson <khw@cpan.org>
Wed, 23 Sep 2015 19:44:31 +0000 (13:44 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 11 Oct 2015 16:48:32 +0000 (10:48 -0600)
commitd6b8921298d7e29c2c19955580f537390b4d8cef
treee0486ffa55f38f70a2f22b7aab8074e80895808d
parent730480ce9e3e0103efa8f551281a62b39f573b1a
Restrict white space inside [] inside(?[ ]) to \h

This experimental construct has turned on /x processing for any interior
bracketed character classes, except comments are not allowed.  But,
bracketed character classes have traditionally all been on one line, and
I'm leery of the problems that could arise if we extend them to
multiple.  Therefore, restrict the white space to just spaces and tabs
before this feature becomes non-experimental.  If there is cause, we can
later relax the prohibition.
pod/perldelta.pod
pod/perlrecharclass.pod
regcomp.c
t/re/regex_sets.t