From 2cbe701a6f00d18f3d95333b7ee8e2673f78c293 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sat, 14 Aug 2010 16:40:16 +0100 Subject: [PATCH] Document not_eol and remove mention of regex.c. --- ChangeLog | 6 ++++++ doc/regex.texi | 11 ++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index b571ba8d0..eca02ce59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-08-14 Reuben Thomas + + regex: Tweak doc. + * doc/regex.texi (Overview): Don't mention regex.c. + (GNU Regular Expression Compiling): Likewise. + 2010-08-14 Brian Gough Bruno Haible diff --git a/doc/regex.texi b/doc/regex.texi index 3fd748a2a..d57ff49b4 100644 --- a/doc/regex.texi +++ b/doc/regex.texi @@ -36,10 +36,8 @@ converted to the internal format used by the library functions. Once you've compiled a pattern, you can use it for matching or searching any number of times. -The Regex library consists of two source files: @file{regex.h} and -@file{regex.c}. +The Regex library is used by including @file{regex.h}. @pindex regex.h -@pindex regex.c Regex provides three groups of functions with which you can operate on regular expressions. One group---the @sc{gnu} group---is more powerful but not completely compatible with the other two, namely the @sc{posix} @@ -1568,10 +1566,9 @@ expression. To do either, you must first compile it in a pattern buffer @vindex re_syntax_options @r{initialization} Regular expressions match according to the syntax with which they were compiled; with @sc{gnu}, you indicate what syntax you want by setting -the variable @code{re_syntax_options} (declared in @file{regex.h} and -defined in @file{regex.c}) before calling the compiling function, -@code{re_compile_pattern} (see below). @xref{Syntax Bits}, and -@ref{Predefined Syntaxes}. +the variable @code{re_syntax_options} (declared in @file{regex.h}) +before calling the compiling function, @code{re_compile_pattern} (see +below). @xref{Syntax Bits}, and @ref{Predefined Syntaxes}. You can change the value of @code{re_syntax_options} at any time. Usually, however, you set its value once and then never change it. -- 2.11.0