Regular Expressions & Languages

Answer & solution
Answer: A (no official key was published)
Step 1: S1 contains positive even-length strings of zeros, described by regular expression 00(00)*, so it is regular.
Step 2: Suppose S2 were regular with pumping length p. Choose 0p1p02p. Any pumping segment in the first p symbols consists of k≥1 initial zeros. Pumping it out changes the first zero-block length to p−k while leaving the final zero block length 2p. That final block no longer equals the sum(p−k)+p. This contradicts the pumping lemma.
Therefore S2 is not regular and only S1 is correct, A.