Skip to content

Commit 2e98e16

Browse files
committed
between quotes and space is not a word boundary
1 parent 228beb2 commit 2e98e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/EvalbotExecuter.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ sub run {
8383
my ($program, $executer, $ename) = @_;
8484
if ($program =~ /^https:\/\/gist\.github\.com\/[^\/]+?\/\p{HexDigit}+$/) {
8585
my $page = `curl -s $program`;
86-
$page =~ /<a\b[^>]+?\btitle="View Raw"\b[^>]+?\bhref="([^"]+)"/;
86+
$page =~ /<a\b[^>]+?\btitle="View Raw"[^>]+?\bhref="([^"]+)"/;
8787
if ($1) { $program = decode_utf8 `curl -s $1` } else { return 'gist not found' };
8888
} elsif ($program =~ /^https:\/\/github\.com\/([^\/]+\/[^\/]+)\/blob\/([^\/]+\/[^\/].*)$/) {
8989
my ($project, $file) = ($1, $2);

0 commit comments

Comments
 (0)