I'm trying to figure out what this regular expression reads as. The regular expression is the following:
(0(1 + 2) * 00*) (+ = union) (* = zero or many).
I believe this reads as: 0 concatenated with zero or many 1s or 2s concatenated with one or many zeros. Am I correct? I apologise if this seems basic but I think the answer should be fairly straightforward for someone experienced in regular expressions to answer.