DFA · Regular
An even number of 0s, or exactly two 1s
A union, built as a product: one component counts 0s mod 2, the other counts 1s up to three. Accept when either component is happy — eight states, laid out as the 2 × 4 grid they are.
The author’s examples, run
ε → accept00110 → accept1 → accept0000000110 → accept0 → reject0010 → reject01 → reject1000000110 → reject