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」Course of Raku / Regexes and grammars / Regexes / Adverbs / Exercises
Write a pattern that matches the word world ignoring
letter case. Test it on 'Hello WORLD' and print the
match.
The program prints:
「WORLD」