Skip to content

Commit 9eb5505

Browse files
committed
Changes regex to include word boundaries
It eliminates two false positives in faq and glossary. Refs #2966 #3024
1 parent b65abb0 commit 9eb5505

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc/Language/glossary.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ historical document for reference. See also L<#Synopsis>.
330330
=head1 fiddly
331331
X<|fiddly>
332332
333-
Too complicated to apply a meta-op to. See L<operator|#Operator>.
333+
Too complicated to apply a metaop to. See L<operator|#Operator>.
334334
335335
=head1 Handle
336336

xt/word-variants.t

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ my %variants = %( filehandle => 'file [\s+|\-] handle',
2222
smartmatch => 'smart [\s+|\-] match',
2323
zero-width => 'zero \s+ width<!before \' joiner\'><!before \' no-break space\'>',
2424
NYI => 'niy',
25-
# metaoperator => 'meta [\s+|\-] operator',
26-
meta => '<!after method \s+> meta [\s+|\-]',
25+
meta => '<!after method \s+> meta [\s+|\-] <<',
2726
precompil => 'pre \- compil',
2827
semicolon => 'semi [\s+|\-] colon',
2928
metadata => 'meta [\s+|\+] data',

0 commit comments

Comments
 (0)