Course of Raku / Regexes and grammars / Regexes / Adverbs / Exercises

Case-blind match

Problem

Write a pattern that matches the word world ignoring letter case. Test it on 'Hello WORLD' and print the match.

Example

The program prints:

「WORLD」

Solution

See the solution

Course navigation

Quiz — Adverbs   |   Solution: Case-blind match