Check out the new USENIX Web site.

next up previous
Next: Delimiter Operators Up: Text Constraints Previous: Relational Operators

Intersection, Union, and Difference

Constraints that must be simultaneously true of a region are expressed by separating the constraint expressions with commas. The region set matched by S1, S2, ..., Sn is the intersection of the region sets matched by each Si. For example just after "From:", just before "\n" describes all regions that start immediately after a ``From:'' caption and end at a newline.

Alternative constraints are specified by separating the constraint expressions with ``|''. The region set matched by S1 | S2 | ... | Sn is the union of the region sets matched by each Si. Set difference is indicated by but not. The region set matched by S1 but not S2 is the set that matches S1 after removing all regions that match S2.


Robert C. Miller and Brad A. Myers
Mon Apr 26 11:34:19 EDT 1999