summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authormsi <bugcounterism@malbolge.net>2021-01-08 16:16:39 (GMT)
committermsi <bugcounterism@malbolge.net>2021-01-08 16:16:39 (GMT)
commit441087db286e15816b7a319b8805d75ec5a2d95a (patch)
tree2b5ead29922b1289f3df71bbe5ef7e13f0fbaac5 /doc
parent0e60f03e35a7e8f8ad7891ac4c9a455321fa3e3e (diff)
parent46a7f708198200bcce25b4f75369e48aae6cb94f (diff)
downloadtcl-441087db286e15816b7a319b8805d75ec5a2d95a.zip
tcl-441087db286e15816b7a319b8805d75ec5a2d95a.tar.gz
tcl-441087db286e15816b7a319b8805d75ec5a2d95a.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 628b1bf..9a9e2b0 100644
--- a/doc/re_syntax.n
+++ b/doc/re_syntax.n
@@ -138,22 +138,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