I'm trying to find Strings of length 4 In this regular expression. However, I'm having trouble understanding how the string is built
$$1(1+00)^*0+(01)^*+(101+0)(10+λ)1^*$$
For example,
for $1(1+00)^*0$, if I decide that * gives me 1 or more I should get $1000$. But if I say * gives me nothing, would that mean that the string is $10$ or is it just $0$? Is my logic correct?
Does the * only affect whats in the brackets or does it affect everything behind it?
Here's an example string That I came up with (This is in regards to the whole expression): $$1001$$
1110and1000and0101and1011. – hmakholm left over Monica Jun 09 '15 at 12:071010. – hmakholm left over Monica Jun 09 '15 at 12:18