Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Göktürk Yüksek" <gokturk@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH v1] portageq: escape regex-special characters in maintainer emails #604164
Date: Fri, 30 Dec 2016 19:47:01
Message-Id: 608955c1-4b42-d605-e876-e1a51545bfac@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH v1] portageq: escape regex-special characters in maintainer emails #604164 by "Göktürk Yüksek"
1 On 12/30/2016 10:02 AM, Göktürk Yüksek wrote:
2 > When the email address of a maintainer contains regex-special
3 > characters (such as '+'), re.match() returns incorrect results. Use
4 > re.escape() with list comprehension on maintainer emails when
5 > constructing the matcher regex.
6
7 I've commented on bug 604164 that we should add a new option rather than
8 drop regex support from the existing option.
9 --
10 Thanks,
11 Zac