Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
:nth can be Callable
  • Loading branch information
gfldex committed Jul 22, 2016
1 parent 8e6e303 commit 4518bc3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions doc/Type/Str.pod6
Expand Up @@ -581,14 +581,14 @@ The following adverbs are supported
=begin table
short long meaning
===== ==== =======
:g :global tries to match as often as possible
:nth(Int) only substitute the nth's match
:ss :samespace preserves whitespace on substitution
:ii :samecase preserves case on substitution
:mm :samemark preserves character marks (e.g. 'ü' replaces with 'o' will result in 'ö')
:x(Int) substitute exactly $x matches
short long meaning
===== ==== =======
:g :global tries to match as often as possible
:nth(Int|Callable) only substitute the nth's match
:ss :samespace preserves whitespace on substitution
:ii :samecase preserves case on substitution
:mm :samemark preserves character marks (e.g. 'ü' replaces with 'o' will result in 'ö')
:x(Int|Callable) substitute exactly $x matches
=end table
Expand Down

0 comments on commit 4518bc3

Please sign in to comment.