projects
/
docbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
126adb9
)
- fix search, missed the underscore
author
Andreas Scherbaum
<andreas@scherbaum.biz>
Fri, 17 Aug 2012 13:17:07 +0000
(15:17 +0200)
committer
Andreas Scherbaum
<andreas@scherbaum.biz>
Fri, 17 Aug 2012 13:17:07 +0000
(15:17 +0200)
docbot.pl
patch
|
blob
|
blame
|
history
diff --git
a/docbot.pl
b/docbot.pl
index 96ebc47182de32beeedff1d4a1c23f80fd35c206..1d75a28b820a4970d616a5cf8d53100fe5533e03 100755
(executable)
--- a/
docbot.pl
+++ b/
docbot.pl
@@
-2832,7
+2832,7
@@
sub handle_command_search {
}
- if ($string !~ /^[a-zA-Z0-9 ]+$/) {
+ if ($string !~ /^[a-zA-Z0-9
_\-
]+$/) {
my $answer = "Invalid search";
$answer = translate_text_for_channel($channel, 'invalid_search', $answer);
return $answer;