Skip to content

Commit

Permalink
Improves chars, refs #3416
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed May 22, 2020
1 parent aa84b89 commit 8314e00
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions doc/Type/Match.pod6
Expand Up @@ -76,7 +76,8 @@ in progress:
my $a = 'abcdef';
$a ~~ /b. {say $/.pos }../; say $/.pos; # OUTPUT: «3␤»
You should not use this method on finished Match, as the output can be implementation
You should not use this method on finished C<Match>, as the output can be
implementation
specific.
=head2 method target
Expand All @@ -90,7 +91,12 @@ Returns a string representation of the object against which the regex matches. T
=head2 method chars
Returns the numbers of characters in the matched string.
Defined as:
method chars()
Returns the numbers of characters in the matched string or 0 if there's been
no match.
Returns the same as C<.Str.chars>.
Expand Down

0 comments on commit 8314e00

Please sign in to comment.