This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regex: /l in combo with others in syn start class
authorKarl Williamson <public@khwilliamson.com>
Wed, 9 Mar 2011 00:06:47 +0000 (17:06 -0700)
committerKarl Williamson <public@khwilliamson.com>
Wed, 9 Mar 2011 06:22:17 +0000 (23:22 -0700)
commitc613755a4b4fc8e64a77639d47d7e208fee68edc
tree79d619f3808d2f33e5d8613e59e16ebf74c3fc03
parentf0c16e54b3b5efbb4380952c7ba5e8d7626d7cae
regex: /l in combo with others in syn start class

Now that regexes can be combinations of different charset modifiers,
a synthetic start class can match locale and non-locale both.  locale
should generally match only things in the bitmap for code points < 256.
But a synthetic start class with a non-locale component can match such
code points.  This patch makes an exception for synthetic nodes that
will be resolved if it passes and is matched again for real.
regcomp.c
regcomp.h
regexec.c