Recent questions tagged regular-expression

1 votes
0 answers
2
How is "All strings {0,1} of length five or more in which the third symbol from the right end is different from the leftmost symbol" solved? Answer Follow·1 Request ...
1 votes
1 answer
3
0 votes
1 answer
5
0 votes
1 answer
6
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
14
0 votes
2 answers
15
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
20
0 votes
1 answer
21
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
22
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