perldata: More identifier definition fix
authorKarl Williamson <public@khwilliamson.com>
Fri, 21 Jun 2013 20:19:30 +0000 (14:19 -0600)
committerKarl Williamson <public@khwilliamson.com>
Fri, 21 Jun 2013 20:27:29 +0000 (14:27 -0600)
Commit 9c1129c7de15ff8044f606550980c47f8c1724e9 did not update the
(?(DEFINE).  This does that.

pod/perldata.pod

index e46507a..235177b 100644 (file)
@@ -176,12 +176,13 @@ Put together, a grammar to match a basic identifier becomes
       (?<basic_identifier>
         # is use utf8 on?
           (?(?{ (caller(0))[8] & $utf8::hint_bits })
-              (?&Perl_XIDS) \p{XID_Continue}*
+              (?&Perl_XIDS) (?&Perl_XIDC)*
             | (?aa) (?!\d) \w+
           )
       )
       (?<sigil> [&*\$\@\%])
       (?<Perl_XIDS> (?[ ( \p{Word} & \p{XID_Start} ) + [_] ]) )
+      (?<Perl_XIDC> (?[ \p{Word} & \p{XID_Continue} ]) )
   )
  /x