DFA · Regular
A number in scientific notation
An optional sign, digits, an optional fraction, an optional exponent with its own sign: d stands for any digit. Every optional part is a fork in the DFA that rejoins the main path.
The author’s examples, run
d → accept-dd.d → acceptd.de-dd → accept+de+d → acceptd. → reject.d → rejectde → rejectd.d.d → reject