This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mktables: Make sure a \p{ID_Continue} is also \p{Word}
authorKarl Williamson <public@khwilliamson.com>
Wed, 16 May 2012 04:19:51 +0000 (22:19 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sat, 2 Jun 2012 14:29:23 +0000 (08:29 -0600)
This is for consistency with ID_Start.  This property has yet to be used
in the Perl core.

lib/unicore/mktables

index 9b97537..422d279 100644 (file)
@@ -13251,6 +13251,8 @@ sub compile_perl() {
         }
     }
 
+    $perl_xidc &= $Word;
+
     my $gcb = property_ref('Grapheme_Cluster_Break');
     # These are used in Unicode's definition of \X
     my $begin = $perl->add_match_table('_X_Begin', Perl_Extension => 1,