Any regular language can be denoted by a regular expression defined as follows.
I
is an alphabet, R
is a regular expression over I
if and only if it takes one of the following forms:
R=lambda
;
R
belongs to I
;
R=R1 U R2
or R=R1R2
where R1
and R2
are regular expressions on I
;
R=R1*
where R1
is a regular expression on I
.
a
's followed by a b
.Regular languages are recognized by finite automata and are generated by regular grammars.