version 1.48, 2016/03/17 05:27:10 |
version 1.49, 2016/10/26 00:46:01 |
|
|
.Ar flags |
.Ar flags |
in the substitute function is zero or more of the following: |
in the substitute function is zero or more of the following: |
.Bl -tag -width "XXXXXX" -offset indent |
.Bl -tag -width "XXXXXX" -offset indent |
.It Cm 0 No ... Cm 9 |
.It Ar N |
Make the substitution only for the N'th occurrence of the regular |
Make the substitution only for the |
expression in the pattern space. |
.Ar N Ap th |
|
occurrence of the regular expression in the pattern space, where |
|
.Ar N |
|
is a positive integer starting with |
|
.Cm 1 No ... Cm 9 . |
.It Cm g |
.It Cm g |
Make the substitution for all non-overlapping matches of the |
Make the substitution for all non-overlapping matches of the |
regular expression, not just the first one. |
regular expression, not just the first one. |