Course of Raku / Regexes and grammars / Regexes / Anchors / Exercises
A whole word
Problem
Write a pattern that matches is only as a whole word.
Test it on 'this is fine' — where the letters
is also appear inside this — and print the
match.
Example
The program prints:
「is」