diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-05-27 06:31:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-05-27 06:31:00 (GMT) |
commit | 41a031557eba50a28d945644117bb7f36b7e9665 (patch) | |
tree | 2f123b898258052ec045210b72cba04c1127f427 /doc/library.n | |
parent | f7024e99c96bfd8b27099f74cf090715214fa15d (diff) | |
download | tcl-41a031557eba50a28d945644117bb7f36b7e9665.zip tcl-41a031557eba50a28d945644117bb7f36b7e9665.tar.gz tcl-41a031557eba50a28d945644117bb7f36b7e9665.tar.bz2 |
Fix documentation for tcl_wordchars/tcl_nonwordchars matching the implementation. See: [f1253530cdd8].
Diffstat (limited to 'doc/library.n')
-rw-r--r-- | doc/library.n | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/doc/library.n b/doc/library.n index 6f8f265..a5f889b 100644 --- a/doc/library.n +++ b/doc/library.n @@ -299,18 +299,13 @@ These variables are only used in the \fBtcl_endOfWord\fR, This variable contains a regular expression that is used by routines like \fBtcl_endOfWord\fR to identify whether a character is part of a word or not. If the pattern matches a character, the character is -considered to be a non-word character. On Windows platforms, spaces, -tabs, and newlines are considered non-word characters. Under Unix, -everything but numbers, letters and underscores are considered -non-word characters. +considered to be a non-word character. The default is "\W". .TP \fBtcl_wordchars\fR This variable contains a regular expression that is used by routines like \fBtcl_endOfWord\fR to identify whether a character is part of a word or not. If the pattern matches a character, the character is -considered to be a word character. On Windows platforms, words are -comprised of any character that is not a space, tab, or newline. Under -Unix, words are comprised of numbers, letters or underscores. +considered to be a word character. The default is "\w". .SH "SEE ALSO" env(n), info(n), re_syntax(n) .SH KEYWORDS |