Gentoo Archives: gentoo-pms

From: David Leverton <levertond@××××××××××.com>
To: gentoo-pms@l.g.o
Cc: David Leverton <levertond@××××××××××.com>
Subject: [gentoo-pms] [PATCH 2/2] Require a space before the trailing comment
Date: Sun, 13 May 2012 19:13:29
In Reply to: Re: [gentoo-pms] EAPI specification in ebuilds by Ulrich Mueller
 ebuild-vars.tex |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ebuild-vars.tex b/ebuild-vars.tex
index 58ca42e..60c7b04 100644
--- a/ebuild-vars.tex
+++ b/ebuild-vars.tex
@@ -129,7 +129,7 @@ once. The assignment must not be preceded by any lines other than blank lines or
 with optional whitespace (spaces or tabs) followed by a \t{\#} character, and the line containing
 the assignment statement must match the following regular expression:
-^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*(#.*)?$
+^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*([ \t]#.*)?$
 The package manager may optionally determine the EAPI of an ebuild by parsing its first non-blank