Remove the dependency of the :C/regexp/replacement/ variable modifier

from the :S modifier which follows a bit further below.  This way the
reader can read each of these two descriptions without having to jump
back and forth in the manpage.

PR:		docs/26943
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
This commit is contained in:
Giorgos Keramidas 2004-07-18 02:26:30 +00:00
parent 0eba89e375
commit ebca193729

View File

@ -618,16 +618,15 @@ The colon may be escaped with a backslash
.No \&/ Op Cm 1g
.Xc
.Sm on
The
.Cm C
modifier is just like the
.Cm S
modifier except that the old and new strings, instead of being
simple strings, are an extended regular expression (see
Modify each word of the value,
substituting every match of the extended regular expression
.Ar pattern
(see
.Xr re_format 7 )
and an
with the
.Xr ed 1 Ns \-style
replacement string.
.Ar replacement
string.
Normally, the first occurrence of the pattern in
each word of the value is changed.
The