restar


Name

restar -- compute `*' of a regular expression

Synopsis

restar re

restar <re


Description

restar computes the Kleene star of re, and writes the result on standard output.

re must conform to the Grail format for regular expressions.


Examples

% cat re1
{}

% restar <re1
{}

% cat re2
""

% restar re2
""

% cat re3
(a+b)*(abc)

% restar <re3
((a+b)*abc)*

% cat re4
(((a)+(b))*)

% restar re4
(a+b)*


Authors

Darrell Raymond and Derick Wood, the Grail project

See also

re(5)