Very nice. Although if I can contribute: You may want to make some distinctions regarding the ‘.’ since, without any modifiers to the regular expression (which you do not yet discuss), it will not match “n”.
Whoops. I see you actually did mention the ‘.’ not matching newlines in the examples but the line “. Match any character” doesn’t. That’s the one I meant.
Very nice. Although if I can contribute: You may want to make some distinctions regarding the ‘.’ since, without any modifiers to the regular expression (which you do not yet discuss), it will not match “n”.
Whoops. I see you actually did mention the ‘.’ not matching newlines in the examples but the line “. Match any character” doesn’t. That’s the one I meant.
Thanks Dave, good catch! I’ve updated it.