+---------------
| >"(AND pat1 pat2)" -- or in agrep, "pat1;pat2" -- matches in any order.
|
| I don't see how order can be important for either conjunction or
| disjunction of regexps, assuming that grouping can't be extended across
| patterns separated across `;' or `,'.
+---------------
The "importance" is that it *must't* be important. That is, it is not
sufficient to implement "pat1;pat2" as "pat1.*pat2", and it's maybe o.k.
(except for overlaps) but silly to implement it as "(pat1.*pat2)|(pat2.*pat1)"
[using egrep notation]. That was all...
-Rob
-----
Rob Warnock, 7L-551 rpw3@sgi.com
Silicon Graphics, Inc. http://reality.sgi.com/rpw3/
2011 N. Shoreline Blvd. Phone: 415-933-1673 FAX: 415-933-0979
Mountain View, CA 94043 PP-ASEL-IA
|