Perl 6 regular expression basics
Things that remain (mostly) the same from Perl 5 regexes
(For those who don't like change, this is your one slide to relax.)
- Capturing is still performed by parens
- *, +, and ? are still repetition quantifiers
- Backslash still escapes
- Question mark is still the minimal match suffix ( ??, *?, +? )
- Character class shortcuts (most): \d \w \s