Yep, thanks for pointing that out. I was finding it tricky to present features in isolation without making the examples trivial.
I'll work on making things clearer.
I'll work on making things clearer.
- Literal strings - Optional characters - Optional strings of characters (using groups) - Alternations (using groups) - Repetitions (using groups)
Then move onto to things like character classes.
IMO character classes are quite an advanced feature (or at least confusing for beginners) because of being character orientated. They also don't tend to very useful unless you've already covered repetition.