summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authormsi <bugcounterism@malbolge.net>2021-01-06 19:43:35 (GMT)
committermsi <bugcounterism@malbolge.net>2021-01-06 19:43:35 (GMT)
commit2a2321bf6ae58b208c063c1c09eb41f5270729d1 (patch)
treebb82780f8042a239695ee95361a58c5c13710453 /doc
parent279c0829fcf5d56c5c0c9105bc6c4a1837bdad06 (diff)
downloadtcl-2a2321bf6ae58b208c063c1c09eb41f5270729d1.zip
tcl-2a2321bf6ae58b208c063c1c09eb41f5270729d1.tar.gz
tcl-2a2321bf6ae58b208c063c1c09eb41f5270729d1.tar.bz2
Fix consistency and grammar in re_syntax.n
Diffstat (limited to 'doc')
-rw-r--r--doc/re_syntax.n8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/re_syntax.n b/doc/re_syntax.n
index 554f659..446f79f 100644
--- a/doc/re_syntax.n
+++ b/doc/re_syntax.n
@@ -136,22 +136,22 @@ later, under \fBESCAPES\fR.
\fB^\fR
.
matches at the beginning of the string or a line (according to whether
-matching is line-sensitive or not, as described in \fBMATCHING\fR,
+matching is newline-sensitive or not, as described in \fBMATCHING\fR,
below).
.TP
\fB$\fR
.
matches at the end of the string or a line (according to whether
-matching is line-sensitive or not, as described in \fBMATCHING\fR,
+matching is newline-sensitive or not, as described in \fBMATCHING\fR,
below).
.RS
.PP
The difference between string and line matching modes is immaterial
when the string does not contain a newline character. The \fB\eA\fR
-and \fB\eZ\fR constraint escapes have a similar purpose, but are
+and \fB\eZ\fR constraint escapes have a similar purpose but are
always constraints for the overall string.
.PP
-The default line-sensitvity depends on the command that uses the
+The default newline-sensitivity depends on the command that uses the
regular expression, and can be overridden as described in
\fBMETASYNTAX\fR, below.
.RE