retagged by
199 views
1 votes
1 votes
Write a regular expression for all strings of 0’s and 1’s in which at least one copy of the substring 01 occurs before any copy of the substring 10 occurs in the string.  If there is no occurrence of the substring 10 then there need not be any copy of the substring 01.
retagged by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
3 answers
1
moe12leb asked Nov 27, 2022
663 views
Write a regular expression for all strings of 0’s and 1’s in which there is an even number of 0’s between any two 1’s.
0 votes
0 votes
1 answer
2
moe12leb asked Nov 27, 2022
233 views
Write a regular expression for all strings of 0’s and 1’s in which the total number of zeros to the right of each 1 is even.
0 votes
0 votes
1 answer
3
moe12leb asked Nov 4, 2022
349 views
{ε}* , {ε} are these two expressions equal or different ? where ε is the empty string