Re: [Xen-devel] [PATCH v2] get_maintainer.pl: Teach brace expansion

2017-01-10 Thread Wei Liu
On Mon, Jan 09, 2017 at 04:36:41PM +, Ian Jackson wrote: > Anthony PERARD writes ("[PATCH v2] get_maintainer.pl: Teach brace expansion"): > > It is done by using two different regex, the first one will take care of > > converting ',' inside '{}' to a '|', one by one, as long as there is at > >

Re: [Xen-devel] [PATCH v2] get_maintainer.pl: Teach brace expansion

2017-01-09 Thread Ian Jackson
Anthony PERARD writes ("[PATCH v2] get_maintainer.pl: Teach brace expansion"): > It is done by using two different regex, the first one will take care of > converting ',' inside '{}' to a '|', one by one, as long as there is at > least two commas. The second regex will do the final convertion of '{

Re: [Xen-devel] [PATCH v2] get_maintainer.pl: Teach brace expansion

2017-01-09 Thread Doug Goldstein
On 1/9/17 9:22 AM, Anthony PERARD wrote: > Simpler non-nested brace expansion. > > Some entries in the MAINTAINER are not understood by the script, the > ones that contain {,}. This patch fixes it. > > This will convert brace expansion style use in MAINTAINER into a regex > that get_maintainer.pl

[Xen-devel] [PATCH v2] get_maintainer.pl: Teach brace expansion

2017-01-09 Thread Anthony PERARD
Simpler non-nested brace expansion. Some entries in the MAINTAINER are not understood by the script, the ones that contain {,}. This patch fixes it. This will convert brace expansion style use in MAINTAINER into a regex that get_maintainer.pl can use to match a path again a maintainer section. I