Skip to content

Commit 4518bc3

Browse files
committed
:nth can be Callable
1 parent 8e6e303 commit 4518bc3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/Type/Str.pod6

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -581,14 +581,14 @@ The following adverbs are supported
581581
582582
=begin table
583583
584-
short long meaning
585-
===== ==== =======
586-
:g :global tries to match as often as possible
587-
:nth(Int) only substitute the nth's match
588-
:ss :samespace preserves whitespace on substitution
589-
:ii :samecase preserves case on substitution
590-
:mm :samemark preserves character marks (e.g. 'ü' replaces with 'o' will result in 'ö')
591-
:x(Int) substitute exactly $x matches
584+
short long meaning
585+
===== ==== =======
586+
:g :global tries to match as often as possible
587+
:nth(Int|Callable) only substitute the nth's match
588+
:ss :samespace preserves whitespace on substitution
589+
:ii :samecase preserves case on substitution
590+
:mm :samemark preserves character marks (e.g. 'ü' replaces with 'o' will result in 'ö')
591+
:x(Int|Callable) substitute exactly $x matches
592592
593593
=end table
594594

0 commit comments

Comments
 (0)