1 |
On Sun, 12 May 2002, Karl Trygve Kalleberg wrote: |
2 |
|
3 |
<big snip> |
4 |
> |
5 |
> There has been discussion of an IUSE var for each ebuild, that lists the |
6 |
> use flags that an ebuild can avail itself of. This would ease up the task |
7 |
> of collectiong these options. In the meantime, the regex |
8 |
> |
9 |
> [^#]*use ([a-z0-9]+).* |
10 |
> |
11 |
> does the trick. |
12 |
> |
13 |
I found while using this regex, some vars that were coming up were |
14 |
quite suspect. Those such as: |
15 |
the |
16 |
you |
17 |
we |
18 |
they |
19 |
|
20 |
Maybe it's a perlism. I just threw a |
21 |
|
22 |
s/#.*$// |
23 |
|
24 |
before using the regex to fix it. And removed the [^#]*, which |
25 |
wasn't working. What did you use that regex in? Just curious. |
26 |
|
27 |
-- |
28 |
/* |
29 |
* Bob Phan <bob@××××××××××××××××.net,rphan@××××.com> |
30 |
* Computational Chemistry Informatics |
31 |
* Neurogen Corporation |
32 |
* (203)488-8201 x4645 |
33 |
* |
34 |
* To understand recursion, you must first understand recursion. |
35 |
*/ |