back toc next

Regular Examples

(x|y|z)
is equivalent to the RE
[xyz]

(a|b)
is equivalent to
(b|a)

The RE
(Sch|Pr)eis{2}
matches both the strings "Scheiss" and "Preiss".