next next up down toc toc mail

9.9.  Additional Operators

The unary postfix operators ? and + do not allow us to define additional languages, but they often make it easier to express languages.

R? stands for [xi] | R

R+ stands for L(R) [cup] L(RR) [cup] L(RRR) ...

Examples:

%  egrep '(aa|bb)(e|o)(c|d)' words
Lubbock


back next up down toc toc mail


Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1998).

Last modified: 27/July/98 (12:14)