aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-11-13 22:59:33 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2008-11-13 22:59:33 -0800
commit004cab8edf17e6bea800841163fc5b86058bc156 (patch)
tree0d329d1bd93f75a23d3620fd1ddaa50193329b6c
parentMake it work much similar to the original jeeves functionality. If you want a... (diff)
downloadrbot-gentoo-004cab8edf17e6bea800841163fc5b86058bc156.tar.gz
rbot-gentoo-004cab8edf17e6bea800841163fc5b86058bc156.tar.bz2
rbot-gentoo-004cab8edf17e6bea800841163fc5b86058bc156.zip
Allow + in package names.
-rw-r--r--gentoo-data.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoo-data.rb b/gentoo-data.rb
index 70aa405..beba071 100644
--- a/gentoo-data.rb
+++ b/gentoo-data.rb
@@ -337,7 +337,7 @@ plugin = GentooPlugin.new
plugin.default_auth( 'modify', false )
plugin.default_auth( 'view', true )
-REGEX_CP = /^(?:[-[:alnum:]]+\/)?[-_[:alnum:]]+$/
+REGEX_CP = /^(?:[-[:alnum:]]+\/)?[-+_[:alnum:]]+$/
REGEX_DEV = /^[-_[:alnum:]]+$/
REGEX_HERD = /^[-_[:alnum:]]+$/
REGEX_GLSA = /^[-1234567890]+$/