projects
/
docbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42f7230
)
- make "." something which can appear in a search string
author
Andreas Scherbaum
<andreas@scherbaum.biz>
Wed, 17 Oct 2012 12:14:41 +0000
(14:14 +0200)
committer
Andreas Scherbaum
<andreas@scherbaum.biz>
Wed, 17 Oct 2012 12:14:41 +0000
(14:14 +0200)
docbot.pl
patch
|
blob
|
blame
|
history
diff --git
a/docbot.pl
b/docbot.pl
index e71c60ba661986066368515dcd2e8ac086a22cd1..a542e5aaee707d7985a2a0c9a6fe295066e8afe4 100755
(executable)
--- a/
docbot.pl
+++ b/
docbot.pl
@@
-2872,7
+2872,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;