commit: 949faff19ad88a8ef952e7e2f51900d490135cce
Author: Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sat Mar 26 11:49:00 2016 +0000
Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 11:50:19 2016 +0000
URL: https://gitweb.gentoo.org/sites/www.git/commit/?id=949faff1
Fix parsing of new packages containing '(' (#578104)
_plugins/packages.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_plugins/packages.rb b/_plugins/packages.rb
index 2d96cf1..9278b88 100644
--- a/_plugins/packages.rb
+++ b/_plugins/packages.rb
@@ -15,7 +15,7 @@ module Gentoo
item.children.each do |tag|
case tag.name
when 'title'
- if tag.text =~ /^(.*) \((.*)\)$/
+ if tag.text =~ /^([^(]*) \((.*)\)$/
item_data['atom'] = $1.strip
item_data['atom_c'], item_data['atom_p'] =
item_data['atom'].split('/', 2)
item_data['description'] = $2