Skip to content

Commit

Permalink
Merge pull request #60 from perldoc-jp/fix-function
Browse files Browse the repository at this point in the history
atan2を関数の候補に入れるように正規表現を微調整
  • Loading branch information
kfly8 authored Jan 4, 2024
2 parents 0ce0d3a + 84cdef8 commit 0dc7ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PJP/M/BuiltinFunction.pm
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ sub generate {
while (<$fh>) {
$_encoding = $1 and next if !defined $_encoding && m{^=encoding\s+(.+)$};
s{E<sol>}{/}g;
my @names = m{C<(\-?[a-zA-Z_]+)(?:[^>]+)?>}g;
my @names = m{C<(\-?[a-zA-Z0-9_]+)(?:[^>]+)?>}g;
push @_candidate, map {s{^($OPS_REGEXP)(?:/+|/STRING/)$}{$1}; $_} @names;
}
close $fh;
Expand Down

0 comments on commit 0dc7ea8

Please sign in to comment.