summaryrefslogtreecommitdiffstats
path: root/doc/regsub.n
diff options
context:
space:
mode:
authorjpeek <jpeek>1999-06-24 21:15:13 (GMT)
committerjpeek <jpeek>1999-06-24 21:15:13 (GMT)
commit9f6f5c519abd3e4640e5fed701205a348b0bf006 (patch)
treeeefaa1eee86447d2b23facd48fa29800b023a37d /doc/regsub.n
parent79d36b8166d773a6f2740a59820c30748c102226 (diff)
downloadtcl-9f6f5c519abd3e4640e5fed701205a348b0bf006.zip
tcl-9f6f5c519abd3e4640e5fed701205a348b0bf006.tar.gz
tcl-9f6f5c519abd3e4640e5fed701205a348b0bf006.tar.bz2
Moved description of regular expression syntax from regexp.n into a
new re_syntax.n page. Modified other pages' references to regexp(n). Added a few new "see also" entries pointing to re_syntax(n).
Diffstat (limited to 'doc/regsub.n')
-rw-r--r--doc/regsub.n4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/regsub.n b/doc/regsub.n
index 516a417..65c22a6 100644
--- a/doc/regsub.n
+++ b/doc/regsub.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: regsub.n,v 1.2 1998/09/14 18:39:54 stanton Exp $
+'\" RCS: @(#) $Id: regsub.n,v 1.3 1999/06/24 21:15:13 jpeek Exp $
'\"
.so man.macros
.TH regsub n 7.4 Tcl "Tcl Built-In Commands"
@@ -23,6 +23,8 @@ This command matches the regular expression \fIexp\fR against
\fIstring\fR,
and it copies \fIstring\fR to the variable whose name is
given by \fIvarName\fR.
+(Regular expression matching is described in the \fBre_syntax\fR
+reference page.)
If there is a match, then while copying \fIstring\fR to \fIvarName\fR
the portion of \fIstring\fR that
matched \fIexp\fR is replaced with \fIsubSpec\fR.