Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Dec 23, 2016
1 parent a0cd377 commit f799c3a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/Type/Str.pod6
Expand Up @@ -167,8 +167,8 @@ Examples:
method match($pat, :continue(:$c), :pos(:$p), :global(:$g), :overlap(:$ov), :exhaustive(:$ex), :st(:$nd), :rd(:$th), :$nth, :$x --> Match)
Performs a match of the string against C<$pat> and returns a L<Match> object if there is a successful match,
and C<(Any)> otherwise. Matches are stored in C<$/>. If C<$pat> is not a L<Regex> object, match will coerce
the argument to a Str and then perform a literal match against C<$pat>.
and C<(Any)> otherwise. Matches are stored in C<$/>. If C<$pat> is not a L<Regex> object, match will coerce
the argument to a Str and then perform a literal match against C<$pat>.
A number of optional named parameters can be specified, which alter how the match is performed.
Expand All @@ -183,19 +183,19 @@ Takes a position as an argument. Fails if regex cannot be matched from that posi
=item :global
Instead of searching for just one match and returning a Match object, search for every non-overlapping match and return them in a List.
Instead of searching for just one match and returning a Match object, search for every non-overlapping match and return them in a List.
=item :overlap
Finds all matches including overlapping matches, but only returns one match from each starting position.
Finds all matches including overlapping matches, but only returns one match from each starting position.
=item :exhaustive
Finds all possible matches of a regex, including overlapping matches and matches that start at the same position.
=item :st, :nd, rd, nth
Takes an integer as an argument and returns the nth match in the string.
Takes an integer as an argument and returns the nth match in the string.
=item :x
Expand Down

0 comments on commit f799c3a

Please sign in to comment.