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
Message-Id: 1336936370-25779-1-git-send-email-levertond@googlemail.com
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:
 \begin{verbatim}
-^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*(#.*)?$
+^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*([ \t]#.*)?$
 \end{verbatim}
 
 The package manager may optionally determine the EAPI of an ebuild by parsing its first non-blank
-- 
1.7.3.4