From: Karl Berry Date: Wed, 8 Sep 2010 00:45:39 +0000 (-0700) Subject: regex documentation update from Reuben Thomas , 20 Aug 2010 12:04:39... X-Git-Tag: v0.1~3839 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=12e64e44eb5b9178a2cbcfd4a8b34b6fc3e021ea;p=gnulib.git regex documentation update from Reuben Thomas , 20 Aug 2010 12:04:39 +0100 --- diff --git a/ChangeLog b/ChangeLog index d913deede..f0f623d06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,8 +3,8 @@ * lib/regex.h: Fix a mention of `regex_compile' (should be `re_compile_pattern'). Correct and clarify documentation for RE_CONTEXT_INVALID_DUP. - (re_set_registers): Correct name of parameter in comment. - + (re_set_registers): Correct name of parameter in comment. + * doc/regex.texi: Add documentation for missing syntax flags. Remove commented-out documentation of defunct syntax option RE_NO_EMPTY_ALTS. @@ -13,7 +13,7 @@ Document trick to re-use a pattern buffer by setting fastmap manually. Update documentation of struct re_pattern_buffer per public members. Uncomment documentation of equivalence class operators and - collating symbol operators, since they are now implemented, + collating symbol operators, since they are now implemented, Explain leftmost-longest matching in relation to alternatives. Tidy documentation of substring matching. Remove POSIX documentation, which is done better in diff --git a/doc/regex.texi b/doc/regex.texi index 95c90b62c..093f4cc38 100644 --- a/doc/regex.texi +++ b/doc/regex.texi @@ -882,7 +882,7 @@ All other characters are ordinary. For example, @samp{[.*]} matches @node Collating Symbol Operators @subsection Collating Symbol Operators (@code{[.} @dots{} @code{.]}) -Collating symbols can be represented inside lists. +Collating symbols can be represented inside lists. You form a @dfn{collating symbol} by putting a collating element between an @dfn{open-collating-symbol operator} and an @dfn{close-collating-symbol operator}. @samp{[.}