>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:

>> Indeed, but I bet anchors cannot portably be embedded in
>> alternations.

Alexandre> Does this apply to egrep too?

In fact I've thought all the RE engines were the same, so a failing
sed would be a failing egrep.  But actually the problem we faced was
an anchor inside a paren group, which I had generalized a bit too fast
to all the `complex' structures.  Maybe alternation doesn't suffer
from this.

Alexandre> If it does, we can always use two egreps, one that will
Alexandre> match '^AC_(...)$' and another that matches the remaining
Alexandre> alternatives.

Right.

        Akim

Reply via email to