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:
keramida 2004-07-18 02:26:30 +00:00
parent a1cdb8de5c
commit 0084d7c454

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