Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reversed the examples in the "Dot to match any character" section so
that the example with whitespace is the one where the comment about
whitespace appears.
  • Loading branch information
dha committed Jul 29, 2015
1 parent 677aba6 commit e16ef96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Language/regexes.pod
Expand Up @@ -80,8 +80,8 @@ An unescaped dot C<.> in a regex matches any single character.
So these all match:
'perl' ~~ / per . /; # matches the whole string
'perl' ~~ /per./; # the same; whitespace is ignored
'perl' ~~ /per./; # matches the whole string
'perl' ~~ / per . /; # the same; whitespace is ignored
'perl' ~~ / pe.l /; # the . matches the r
'speller' ~~ / pe.l/; # the . matches the first l
Expand Down

0 comments on commit e16ef96

Please sign in to comment.