Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH] EAPI must be at least a single char.
Date: Mon, 01 Oct 2012 07:15:55
Message-Id: 20585.17179.531266.341712@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-pms] [PATCH] EAPI must be at least a single char. by Zac Medico
1 >>>>> On Sun, 30 Sep 2012, Zac Medico wrote:
2
3 > Still, I'd be in favor of changing the regex to match practically
4 > anything that looks like an EAPI assignment, regardless of the
5 > validity of the EAPI value.
6
7 I don't believe that this is possible. You'll never be able to match
8 everyting that it valid bash syntax, other than by parsing it with
9 bash itself. Which is what we wanted to avoid, in the first place.
10
11 (( $'\x45\x41\x50\x49' = 4 + 1 ))
12
13 Ulrich

Replies

Subject Author
Re: [gentoo-pms] [PATCH] EAPI must be at least a single char. Zac Medico <zmedico@g.o>