Skip to content

Commit f799c3a

Browse files
committed
Remove trailing whitespace
1 parent a0cd377 commit f799c3a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/Type/Str.pod6

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ Examples:
167167
method match($pat, :continue(:$c), :pos(:$p), :global(:$g), :overlap(:$ov), :exhaustive(:$ex), :st(:$nd), :rd(:$th), :$nth, :$x --> Match)
168168
169169
Performs a match of the string against C<$pat> and returns a L<Match> object if there is a successful match,
170-
and C<(Any)> otherwise. Matches are stored in C<$/>. If C<$pat> is not a L<Regex> object, match will coerce
171-
the argument to a Str and then perform a literal match against C<$pat>.
170+
and C<(Any)> otherwise. Matches are stored in C<$/>. If C<$pat> is not a L<Regex> object, match will coerce
171+
the argument to a Str and then perform a literal match against C<$pat>.
172172
173173
A number of optional named parameters can be specified, which alter how the match is performed.
174174
@@ -183,19 +183,19 @@ Takes a position as an argument. Fails if regex cannot be matched from that posi
183183
184184
=item :global
185185
186-
Instead of searching for just one match and returning a Match object, search for every non-overlapping match and return them in a List.
186+
Instead of searching for just one match and returning a Match object, search for every non-overlapping match and return them in a List.
187187
188188
=item :overlap
189189
190-
Finds all matches including overlapping matches, but only returns one match from each starting position.
190+
Finds all matches including overlapping matches, but only returns one match from each starting position.
191191
192192
=item :exhaustive
193193
194194
Finds all possible matches of a regex, including overlapping matches and matches that start at the same position.
195195
196196
=item :st, :nd, rd, nth
197197
198-
Takes an integer as an argument and returns the nth match in the string.
198+
Takes an integer as an argument and returns the nth match in the string.
199199
200200
=item :x
201201

0 commit comments

Comments
 (0)