File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -2866,9 +2866,19 @@ has since been undefined.
28662866=item Group name must start with a non-digit word character in regex; marked by 
28672867S<<-- HERE> in m/%s/
28682868
2869- (F) Group names must follow the rules for perl identifiers, meaning
2870- they must start with a non-digit word character.  A common cause of
2871- this error is using (?&0) instead of (?0).  See L<perlre>.
2869+ (F) Group names must follow the rules for Perl identifiers, meaning
2870+ they must start with a character that matches C<\p{XID_Start}> plus the
2871+ underscore.  This means the first character may not be a digit.
2872+ Subsequent characters must match C<\p{XID_Continue}>.
2873+ 
2874+ A common cause of this error is using (?&0) instead of (?0).
2875+ 
2876+ This message was formulated before Perl supported Unicode; so it is
2877+ not accurate for Unicode characters outside the ASCII-range.  There are
2878+ many word characters in Unicode that may not start a group name, and a
2879+ few that may not be a continuation character.
2880+ 
2881+ See L<perlre>.
28722882
28732883=item ()-group starts with a count
28742884
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments