Gentoo Archives: gentoo-dev

From: Sebastian Pipping <sping@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [v5] Planning for automatic assignment computation of bugs
Date: Fri, 07 May 2010 17:06:53
Message-Id: 4BE44881.7020906@gentoo.org
In Reply to: Re: [gentoo-dev] [v5] Planning for automatic assignment computation of bugs by "Robin H. Johnson"
1 On 05/06/10 06:27, Robin H. Johnson wrote:
2 >> package_pattern =
3 >> re.compile('\\b(?P<category>[a-z0-9_+-]+-[a-z0-9_+-]+)/(?P<package>[a-z0-9_+-]+(?:[a-z_+]+[0-9]+|[a-z0-9_+-]+[a-z+]+))')
4 > - Fails to match category 'virtual'.
5
6 True.
7
8 > - That PV matching looks really fishy.
9
10 It's not meant to match versions at all. Could it be you misread the regex?
11
12 Best,
13
14
15
16 Sebastian