Course of Raku / Regexes and grammars / Regexes / Literals and character classes

Exercises: Literals and character classes

This section contains 4 exercises.

  1. Match a phrase
  2. A letter or digit
  3. A vowel
  4. The first non-digit

Refresh your knowledge

Refer to the contents of this section to find the answers if needed.

Course navigation

Match a phrase