From 307ff71cd6cd4f473a7aa2a76d2de009b97646db Mon Sep 17 00:00:00 2001 From: Simon Proctor Date: Mon, 1 Jun 2020 13:32:18 +0100 Subject: Small fix to space in regex test --- challenge-063/simon-proctor/raku/ch-1.raku | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenge-063/simon-proctor/raku/ch-1.raku b/challenge-063/simon-proctor/raku/ch-1.raku index dd557ba8d8..ed1092c70c 100644 --- a/challenge-063/simon-proctor/raku/ch-1.raku +++ b/challenge-063/simon-proctor/raku/ch-1.raku @@ -9,5 +9,5 @@ sub last_word( Str $sentence, Regex $test ) { # Test Last_word say last_word(' hello world', rx/<[ea]>l/); # 'hello' say last_word("Don't match too much, Chet!", rx:i/ch.t/); # 'Chet!' -say last_word("spaces in regexp won't match", rx/"in" " " "re"/); # undef +say last_word("spaces in regexp won't match", rx/"in re"/); # undef say last_word( join(' ', 1..1e6), rx/^(3.*?) ** 3/); # '399933' -- cgit