Explain the role of Regular Expressions in Lexical Analysis phase of the compiler.
Construct the regular expression for the followings:
(i) The language which containing all strings having any number of a‟s and b‟s and exact one c‟s
except the null string over the set Σ = {a, b, c}.
(ii) The language which start with „m’, 3
rd character is „m’ and 2nd character from the left is „n’ over
the set Σ = {a, b}.
(iii) The language which containing all strings having any number of a‟s followed by any number of
b‟s followed by exactly three c‟s over the set Σ = {a, b, c}.
Answers
Answered by
0
Answer:
d g h s। s। e t। h d। s e r dnjsbfbjcj jnc
Explanation:
shsiifb hxuisihsgw hey you
Similar questions
Geography,
2 months ago
English,
2 months ago
Math,
6 months ago
Computer Science,
6 months ago
Political Science,
11 months ago
Biology,
11 months ago