|
Lines 672-684
Link Here
|
| 672 |
.Xr regex 3 ) |
672 |
.Xr regex 3 ) |
| 673 |
and an |
673 |
and an |
| 674 |
.Xr ed 1 Ns \-style |
674 |
.Xr ed 1 Ns \-style |
| 675 |
replacement string. Normally, the first occurrence of the pattern in |
675 |
replacement string. Normally, the first occurrence of the |
| 676 |
each word of the value is changed. The |
676 |
.Ar pattern |
|
|
677 |
in each word of the value is changed. The |
| 677 |
.Ql 1 |
678 |
.Ql 1 |
| 678 |
modifier causes the substitution to apply to at most one word; the |
679 |
modifier causes the substitution to apply to at most one word; the |
| 679 |
.Ql g |
680 |
.Ql g |
| 680 |
modifier causes the substitution to apply to as many instances of the |
681 |
modifier causes the substitution to apply to as many instances of the |
| 681 |
search pattern as occur in the word or words it is found in. Note that |
682 |
search |
|
|
683 |
.Ar pattern |
| 684 |
as occur in the word or words it is found in. Note that |
| 682 |
.Ql 1 |
685 |
.Ql 1 |
| 683 |
and |
686 |
and |
| 684 |
.Ql g |
687 |
.Ql g |