mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 16:45:40 -04:00
whoops
This commit is contained in:
parent
763405ad26
commit
041f74bc24
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ sub {
|
|||
|
||||
if ($said->{body} =~ /-q\s+(.*)/i) #faq questions
|
||||
{#http://perldoc.perl.org/search.html?q=foo+bar
|
||||
my $trimmed = $said->{body};
|
||||
my $trimmed = $1;
|
||||
$trimmed =~ s/^\s*(\S+)\s*$/$1/;
|
||||
my $query = uri_encode($trimmed);
|
||||
$query =~ s/%20/+/g;
|
||||
|
|
Loading…
Add table
Reference in a new issue