aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Proctor <simon.proctor@zoopla.co.uk>2020-06-01 13:32:18 +0100
committerSimon Proctor <simon.proctor@zoopla.co.uk>2020-06-01 13:32:18 +0100
commit307ff71cd6cd4f473a7aa2a76d2de009b97646db (patch)
treea0e19416947de14555ca982a1845ccff514a4864
parentea20ed349a9ef101246e58ad227e44ab9e4716e9 (diff)
downloadperlweeklychallenge-club-307ff71cd6cd4f473a7aa2a76d2de009b97646db.tar.gz
perlweeklychallenge-club-307ff71cd6cd4f473a7aa2a76d2de009b97646db.tar.bz2
perlweeklychallenge-club-307ff71cd6cd4f473a7aa2a76d2de009b97646db.zip
Small fix to space in regex test
-rw-r--r--challenge-063/simon-proctor/raku/ch-1.raku2
1 files changed, 1 insertions, 1 deletions
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'