1 |
The example regex allowed for |
2 |
EAPI= |
3 |
|
4 |
Which isn't used, alloewd, nor desired; at best, that's short hand |
5 |
for EAPI=0. |
6 |
--- |
7 |
ebuild-vars.tex | 2 +- |
8 |
1 file changed, 1 insertion(+), 1 deletion(-) |
9 |
|
10 |
diff --git a/ebuild-vars.tex b/ebuild-vars.tex |
11 |
index 53de53d..ec0d84e 100644 |
12 |
--- a/ebuild-vars.tex |
13 |
+++ b/ebuild-vars.tex |
14 |
@@ -139,7 +139,7 @@ once. The assignment must not be preceded by any lines other than blank lines or |
15 |
with optional whitespace (spaces or tabs) followed by a \t{\#} character, and the line containing |
16 |
the assignment statement must match the following regular expression: |
17 |
\begin{verbatim} |
18 |
-^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*([ \t]#.*)?$ |
19 |
+^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]+)\1[ \t]*([ \t]#.*)?$ |
20 |
\end{verbatim} |
21 |
|
22 |
The package manager must determine the EAPI of an ebuild by parsing its first non-blank and |
23 |
-- |
24 |
1.7.12 |