diff options
author | Fred Drake <fdrake@acm.org> | 1999-01-19 20:00:08 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-01-19 20:00:08 (GMT) |
commit | a7998f650a0c674b475be7bba71a5bdb0aa95b77 (patch) | |
tree | 3a7aade2b92ced8608bb5505674c064a4cd5db04 /Doc | |
parent | 6ffa445832e932a1a4def50ef874424750fde6ab (diff) | |
download | cpython-a7998f650a0c674b475be7bba71a5bdb0aa95b77.zip cpython-a7998f650a0c674b475be7bba71a5bdb0aa95b77.tar.gz cpython-a7998f650a0c674b475be7bba71a5bdb0aa95b77.tar.bz2 |
Revised comments on null bytes in pattern string.
Removed "New" from module synopsis.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libre.tex | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex index 161cc5b..cc4c37d 100644 --- a/Doc/lib/libre.tex +++ b/Doc/lib/libre.tex @@ -1,20 +1,21 @@ \section{\module{re} --- - New Perl-style regular expression search and match operations.} + Perl-style regular expression operations.} \declaremodule{standard}{re} \moduleauthor{Andrew M. Kuchling}{akuchling@acm.org} \sectionauthor{Andrew M. Kuchling}{akuchling@acm.org} -\modulesynopsis{New Perl-style regular expression search and match +\modulesynopsis{Perl-style regular expression search and match operations.} This module provides regular expression matching operations similar to those found in Perl. It's 8-bit clean: the strings being processed may contain both null bytes and characters whose high bit is set. Regular -expression patterns may not contain null bytes, but they may contain -characters with the high bit set. The \module{re} module is always -available. +expression pattern strings may not contain null bytes, but can specify +the null byte using the \code{\e\var{number}} notation. +Characters with the high bit set may be included. The \module{re} +module is always available. Regular expressions use the backslash character (\character{\e}) to indicate special forms or to allow special characters to be used |