Course of Raku / Regexes and grammars / Grammars / Tokens and rules

Exercises: Tokens and rules

This section contains 3 exercises.

  1. Regex versus token
  2. A spaced rule
  3. A spaced assignment

Refresh your knowledge

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

Course navigation

Regex versus token