aboutsummaryrefslogtreecommitdiff
path: root/jim_tcl.txt
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2020-06-25 21:17:18 +1000
committerSteve Bennett <steveb@workware.net.au>2020-06-25 21:17:18 +1000
commit4e2cdacaad9473324807009b125907c76a7c7569 (patch)
treec6fbb651d6017314817596976b1241aced4d3729 /jim_tcl.txt
parent99b7ce979f72087be74b039aa988a4f25f3b6d27 (diff)
downloadjimtcl-4e2cdacaad9473324807009b125907c76a7c7569.zip
jimtcl-4e2cdacaad9473324807009b125907c76a7c7569.tar.gz
jimtcl-4e2cdacaad9473324807009b125907c76a7c7569.tar.bz2
docs: use "empty string" instead of "null string"
Avoid ambiguity re null characters Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim_tcl.txt')
-rw-r--r--jim_tcl.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt
index 2a60a3c..23c80cb 100644
--- a/jim_tcl.txt
+++ b/jim_tcl.txt
@@ -1109,7 +1109,7 @@ successful if the contents of +'string'+ and +'pattern'+ are identical except th
following special sequences may appear in +'pattern'+:
+*+;;
- Matches any sequence of characters in +'string'+, including a null string.
+ Matches any sequence of characters in +'string'+, including an empty string.
+?+;;
Matches any single character in +'string'+.
@@ -3648,9 +3648,9 @@ The following switches modify the behaviour of +'regexp'+
Use newline-sensitive matching. By default, newline
is a completely ordinary character with no special meaning in
either REs or strings. With this flag, +[^+ bracket expressions
- and +.+ never match newline, an +^+ anchor matches the null
+ and +.+ never match newline, an +^+ anchor matches the empty
string after any newline in the string in addition to its normal
- function, and the +$+ anchor matches the null string before any
+ function, and the +$+ anchor matches the empty string before any
newline in the string in addition to its normal function.
+*-indices*+::
@@ -3740,9 +3740,9 @@ The following switches modify the behaviour of +'regsub'+
Use newline-sensitive matching. By default, newline
is a completely ordinary character with no special meaning in
either REs or strings. With this flag, +[^+ bracket expressions
- and +.+ never match newline, an +^+ anchor matches the null
+ and +.+ never match newline, an +^+ anchor matches the empty
string after any newline in the string in addition to its normal
- function, and the +$+ anchor matches the null string before any
+ function, and the +$+ anchor matches the empty string before any
newline in the string in addition to its normal function.
+*-start* 'offset'+::