This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Clarify error message
authorKarl Williamson <khw@cpan.org>
Wed, 10 Feb 2016 22:05:45 +0000 (15:05 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 11 Feb 2016 04:16:44 +0000 (21:16 -0700)
commitc30c479a991b20d969ca8982ddc901dbe93ec26d
treed6a936ddc79ca437c0474261531ed53510ab024a
parent2d1a1cb30ceaba6da87dcbf82ecae272ec26e9c5
regcomp.c: Clarify error message

It is an error to specify an empty Unicode property name, like in
qr/\p{}/.  It also is illegal to just say qr/\p/.  Prior to this commit
the error message for that latter construct misleadingly referred to
braces.  Since there are no braces in the input, they shouldn't be
mentioned.
pod/perldiag.pod
regcomp.c
t/re/reg_mesg.t