Module2 Part1
Module2 Part1
preeton 9
Conduiny cn crop
3) a RA areqlar cipreesion en
shech pndicates the language cont
atleost
+
eethey 6ne
ne o
(at b)
Aet
endngd th eb obb.
(att)akb
Sett a steg
b
ab Catb)*
Atrfng
ConglaHng
latb)
(att)aa
gollosed (att)atbh)
bb'
follade
dby
by
booed
Sne
elther
akaving Sne
number
ber
bum
Set &et et Bet
aaaabbb,
ahbLL oened
bans
nchedeng
hone hat
's
ola
sterg
he
pis
BtRnz
ionst'hy)
o1oJ
0o
o(ltooo
(b a a t (0+000
pastPhly &tring
Dexo's
lang
ollaned vecate
Cand
Ce
&et?ve The
epresisn dlo
th
len,
tdiog
en bb, (etatb)
CEtatb)
accepi
Qat
a'bt
bathb
ab,
re
qular atb)(ath) aa, to
realar
(E+ath)
b, RE Etatb
2
thetRng
en
Kepree
ootoln the
ExEya the
obtaRn aotnfn
huaher
-
lertt
odd )*
(aw)(a1))*
(atb)
(atb))
(a4) (att) to
occept
ab(ate)
(bte)
1:abab,
baba-
((a)
a's
hotng
b'
bb
toa,
(a+6)
)
obtun
a'k
-
RE= 10Ke Kero6ne Consiatng
ContolaRna
atenitobtaln ConeeCadive
okeo
o'A dhtoln
REabt bo
+cy
tt (atbtc shere
-(abe mot at
a
(40)bo(11D) A
RE
a RE
atbtc)b to
Accept to
accept
Catbtc leat
Lar a
att
la
4
4)
taln ob
obtaln Subtig no
a ot east RE:
taln
(o)o00
(o+1)
3 (atbt)"a
atbtc)b
(btab)
aLbtab)
a Csnye
k.E
l*0(ote) RE
ctve
to Soch
ihat (asbtc)'b
(at
accept btoa
accept
ooTs
<tiral
(atbic)
(atb14
gos
the
Symbo oe Atengi
accapt obtaln obtiln a
are ak
slahtendthe
Pntreted
Aothe ble a
aCatb)b thb
aa
h aCatt) RE
(atb)boa (at) (att)acatt) RE
hae to
3rd
on to
a'aBuch
e b' tenth Qccept
Aymbt m a
faaccept
en
grd the Ahobst a
&ing
(atb)
4
Catt)to
crpreasPon
Kqlar be
can
Jen
b
ther
be les
mulp ee domnotfre
canfons
t
the
abe
Poge (atb) Rk
eVen
Comb?n
Aubatrg
eA
atoatb))
eA wtng th
hoseleng
(atb) ba th lenqth Cat)o
lengbtalned
wslna obtoened mulkpleg
oeven
beCan
any att)* both
es shse shoe
R.E
Length
Accept be R.F
Bt-ed RE R.ECan
-
dala
aa t)+latt)
alat)a)+
alato)a
Catb) ath) (ath)Combinatene
2
Cbt
epriented
bean atb)
haveleast Qth lat
aa alath)a
(aaCatb) aatkatb)a
te
at
a m
bve (att)aa)
lott
nfth Cato) (at
(bo
irsd
brd
Sunn
Z
4
ellaecd
by b m-|
ba m>3
n-hen
a's aaa
numberg
(bb
t
that
epreient
number aa
(bb)
ogb b thi
bave
(aa)bb)
laa)* RE-Q
fven eVen
nt& Cesel'-
Aloce
nm
even RE
reprcsent a
alo Cose2i-
odd
by h
ollased Odd RE
So then
£å
n eVenCoel
m Tt
tabbbb+
rigar
Cxpreafm
a2nnomo
bbb
aaat
= eveh
then
bbht
Qagt
Qaaa'b ham
yetenting RE
pneven
mza (aa)
bne
repres
K.E
= the
hangu m£e
than
So
RE
R.E The
RiE
bo
REan
are
Reguar
hanguge
deened Hhat
cah
e
2
R.E
nte
ta) be
by Zame
DatePage moe can
Ce Kleen's
theorem toota
ta) cdeened
ame F2te
that
wogedned
by
be
not
e
ta)( Ven
by
beaccepted
nRng
ohtafnaRE are
e are
R.
2)The Any a
ehaOguag
languag
Ce
conti fhree
a Qre
patterns occepted
too RE REYeson
Can
b' The