Course of Raku / Regexes and grammars / Regexes / Matching strings / Exercises
The matched text
Problem
Match the literal text base in the string
'database'. Do not assign the result to a variable;
instead, read the match from the automatic match variable
$/, and print just the matched text as a
plain string (not between corner brackets).
Example
The program prints:
base