I'm just learning regular expressions, so I just want to make sure my understanding is correct.
01*
mean 0 followed by 0 or more repetitions of 1.
1* + 01*
means either 0 or more repetitions of 1 OR 0 followed by 0 or more repetitions of 1.
Am I right or is there something that I'm missing? Thanks.
This seems correct to me. (Even thought I'm not a whiz in regular expressiony myself)
But here's a good tutorial you could check out. This one I found useful as well.