From a7998f650a0c674b475be7bba71a5bdb0aa95b77 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 19 Jan 1999 20:00:08 +0000 Subject: [PATCH] Revised comments on null bytes in pattern string. Removed "New" from module synopsis. --- Doc/lib/libre.tex | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex index 161cc5b63b3..cc4c37dd7ea 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