Fix commentlink regex for blueprints.

Fixes bug 868376.

Change-Id: I9cc39941dfb623be1519bf91f67b98001ab843c7
This commit is contained in:
James E. Blair 2011-10-06 10:50:55 -04:00
parent d87da843f1
commit 37ffe84997

View File

@ -11,7 +11,7 @@ $commentlinks = [ { name => 'changeid',
link => 'https://code.launchpad.net/bugs/$2' }, link => 'https://code.launchpad.net/bugs/$2' },
{ name => 'blueprint', { name => 'blueprint',
match => '([Bb]lue[Pp]rint|[Bb][Pp])\\s*[#:]?\\s*(\\S+)', match => '([Bb]lue[Pp]rint|[Bb][Pp])\\s*[#:]?\\s*([A-Za-z0-9\\-]+)',
link => 'https://blueprints.launchpad.net/openstack/?searchtext=$2' }, link => 'https://blueprints.launchpad.net/openstack/?searchtext=$2' },
] ]