summaryrefslogtreecommitdiffstats
path: root/doc/regsub.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-02-24 21:04:58 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-02-24 21:04:58 (GMT)
commitd24c35f276199a428012749034360a0ab17c00da (patch)
treebd89a06d093bc6aed00d0c588a506836a2576c5c /doc/regsub.n
parentb51f251bd053d6532d178b3f1b101d5cfd15f610 (diff)
downloadtcl-d24c35f276199a428012749034360a0ab17c00da.zip
tcl-d24c35f276199a428012749034360a0ab17c00da.tar.gz
tcl-d24c35f276199a428012749034360a0ab17c00da.tar.bz2
General minor documentation improvements.
Diffstat (limited to 'doc/regsub.n')
-rw-r--r--doc/regsub.n18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/regsub.n b/doc/regsub.n
index 33a2e6f..471063e 100644
--- a/doc/regsub.n
+++ b/doc/regsub.n
@@ -6,7 +6,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.26 2008/10/17 10:22:25 dkf Exp $
+'\" RCS: @(#) $Id: regsub.n,v 1.27 2009/02/24 21:04:58 dkf Exp $
'\"
.so man.macros
.TH regsub n 8.3 Tcl "Tcl Built-In Commands"
@@ -56,7 +56,7 @@ backslashes.
If the initial arguments to \fBregsub\fR start with \fB\-\fR then
they are treated as switches. The following switches are
currently supported:
-.TP 10
+.TP
\fB\-all\fR
.
All ranges in \fIstring\fR that match \fIexp\fR are found and
@@ -69,13 +69,13 @@ and
.QW \e\fIn\fR
sequences are handled for each substitution using the information
from the corresponding match.
-.TP 15
+.TP
\fB\-expanded\fR
.
Enables use of the expanded regular expression syntax where
whitespace and comments are ignored. This is the same as specifying
the \fB(?x)\fR embedded option (see the \fBre_syntax\fR manual page).
-.TP 15
+.TP
\fB\-line\fR
.
Enables newline-sensitive matching. By default, newline is a
@@ -92,7 +92,7 @@ matches an empty string before any newline in
addition to its normal function. This flag is equivalent to
specifying both \fB\-linestop\fR and \fB\-lineanchor\fR, or the
\fB(?n)\fR embedded option (see the \fBre_syntax\fR manual page).
-.TP 15
+.TP
\fB\-linestop\fR
.
Changes the behavior of
@@ -102,7 +102,7 @@ bracket expressions and
so that they
stop at newlines. This is the same as specifying the \fB(?p)\fR
embedded option (see the \fBre_syntax\fR manual page).
-.TP 15
+.TP
\fB\-lineanchor\fR
.
Changes the behavior of
@@ -115,13 +115,13 @@ so they match the
beginning and end of a line respectively. This is the same as
specifying the \fB(?w)\fR embedded option (see the \fBre_syntax\fR
manual page).
-.TP 10
+.TP
\fB\-nocase\fR
.
Upper-case characters in \fIstring\fR will be converted to lower-case
before matching against \fIexp\fR; however, substitutions specified
by \fIsubSpec\fR use the original unconverted form of \fIstring\fR.
-.TP 10
+.TP
\fB\-start\fR \fIindex\fR
.
Specifies a character index offset into the string to start
@@ -133,7 +133,7 @@ When using this switch,
will not match the beginning of the line, and \eA will still
match the start of the string at \fIindex\fR.
\fIindex\fR will be constrained to the bounds of the input string.
-.TP 10
+.TP
\fB\-\|\-\fR
.
Marks the end of switches. The argument following this one will