Merge a branch from Guilherme Salgado that fixes launchpad code URLs

This commit is contained in:
Chris Jones 2012-07-10 20:18:47 +01:00
commit 88282b9f1d
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class LaunchpadCodeURLHandler(plugin.URLHandler):
nameopen = "Open Launchpad branch"
namecopy = "Copy branch URL"
lpfilters = {}
lpfilters['project'] = '[a-z0-9]{1}[a-z0-9\.\-\+]+'
lpfilters['project'] = '[a-z0-9]{1}[a-z0-9+.-]+'
lpfilters['group'] = '~%s' % lpfilters['project']
lpfilters['series'] = lpfilters['project']
lpfilters['branch'] = '[a-zA-Z0-9]{1}[a-zA-Z0-9_+@.-]+'