0% found this document useful (0 votes)
15 views4 pages

AT Assg2

1) The document discusses various patterns in strings or sequences involving letters. 2) It provides examples of strings and the regular expressions to match those patterns. 3) The patterns include strings starting and ending with the same letter, having consecutive repeated letters, containing a certain number of As or Bs, and other language-based patterns.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

AT Assg2

1) The document discusses various patterns in strings or sequences involving letters. 2) It provides examples of strings and the regular expressions to match those patterns. 3) The patterns include strings starting and ending with the same letter, having consecutive repeated letters, containing a certain number of As or Bs, and other language-based patterns.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

NAME:-Onkqr Kapustrn M

(IT-8) Page No

RrackicaAssiqrmend i2.
ohen words a

hauing l = édengti
eren
aa, ab, b ,bb,
-RE=tatt)fa+b))

2)
hanng add dength
a,b, aa a, acb aba abb, . . bbb
RE E(atb)(catb)(atb))
3)Staxts and ends orth a
L: faa, abaaaa
RE a (atb)` a

)Stak s end eoth same lettere


Laa,bb
RE (a a+ba) (b-(atb)"b)

Alo too Coosecuie etteey ae same


L=$E ab a,b, ba
M T TF S S

Page No.:
YOUVA
Date:

)bdoes nok cuppr canst


a, b aa ,a'b

pEalbtelabtt)a)
L =$e, aaa, , bbb, ?

ToH5Tat)tan
even- even dong No. o s &No. bs both is even )
t 6 , aa, bb, 3 aabb, bhaa, abab.ab aaab
abbb cb
RES laa+ bbt (ab+ba)(aatbb) (abtba)
9)

as
LeE, a, b,bb,a-.

RE

) atdeayt 2a's
L= aa, aaa, aab

R.E
M T

Page No.
Data YOUVA

ith b.
done end
(atb)(aatbbt a) ttatL)

Genele wrd's
Ca a) bbj*b
aab bbb
fa's folloue d
language hoieg
by
(atb)k
sa, bb aa,bbb
Jrdy endina w)t
Languge hain

L* fab) (A+a)
6,a, b, ba,ab, aba
bb

Dexnhe in fngish
atlao 3 os
Jangunge ading
both to
no b 2
aa'
folbu
batt(6a"t(a'
nob) +
RE
letteey
unda) dykt utetuy (undaym) Jettes
iclandifc'ns )E
ehaem ’data
oadin patton weh
dota
)Applicahens
.E
Date:
YOUVA
No. Page
SWTFS M

You might also like