Recent questions tagged regular-expression

1 votes
1 answer
1
0 votes
1 answer
3
0 votes
1 answer
4
Write regular expression for the set of strings of 0's and 1's with at most one pair of consecutive 1's.
1 votes
2 answers
10
0 votes
2 answers
11
Which of the following regular expression represent the set of all the strings not containing $100$ as a substring ?$0^*(1^*0)^*$$0^*1010^*$$0^*1^*01^*$$0^*(10+1)^*$
0 votes
1 answer
16
0 votes
1 answer
17
Let r = a(a + b)*, S = aa*b and t = a* b be three regular expressions. Consider the following:Which one of them is correct ?
0 votes
1 answer
18
L = (a+b)$\small ^*$b is equivalent to ____________?A. (ab$\small^*$)$\small^+$B. (a$\small^+$b$\small^*$)$\small^+$C. b$\small^*$(ab$\small^*$)$\small^*$bD. None
1 votes
2 answers
21