Skip to content

Commit 974b2aa

Browse files
committed
Exclude apostrophe in internal sub name detection
1 parent ee7fb89 commit 974b2aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapper.p6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ MAP_FILE.spurt: to-json %(
1212

1313
sub subs {
1414
find-symbols({
15-
$_ ~~ Sub and .DEFINITE and .name !~~ /^<[A..Z_-]>+ (':<'.+)? $/
15+
$_ ~~ Sub and .DEFINITE and .name !~~ /^<['A..Z_-]>+ (':<'.+)? $/
1616
})».&keyit;
1717
}
1818

0 commit comments

Comments
 (0)