X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fregex.texi;h=bf8049ec0560f795edcc331c369ed6539cd4c136;hb=1602f0afed21be664fcf5c42d59db07cc22c56d6;hp=95c90b62cb9774b37fb046b4dbceab04319179fe;hpb=29c7cb2d2822ec4e42955444a1fe8aac7800ea2f;p=gnulib.git diff --git a/doc/regex.texi b/doc/regex.texi index 95c90b62c..bf8049ec0 100644 --- a/doc/regex.texi +++ b/doc/regex.texi @@ -882,10 +882,10 @@ 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{[.} +operator} and a @dfn{close-collating-symbol operator}. @samp{[.} represents the open-collating-symbol operator and @samp{.]} represents the close-collating-symbol operator. For example, if @samp{ll} is a collating element, then @samp{[[.ll.]]} would match @samp{ll}. @@ -914,8 +914,8 @@ symbol. @subsection Character Class Operators (@code{[:} @dots{} @code{:]}) @cindex character classes -@cindex @samp{[:} in regex -@cindex @samp{:]} in regex +@cindex @samp{[colon} in regex +@cindex @samp{colon]} in regex If the syntax bit @code{RE_CHAR_CLASSES} is set, then Regex recognizes character class expressions inside lists. A @dfn{character class @@ -1624,7 +1624,7 @@ compiled pattern. @var{string} is the string you want to match; it can contain newline and null characters. @var{size} is the length of that string. @var{start} is the string index at which you want to begin matching; the first character of @var{string} is at index zero. -@xref{Using Registers}, for a explanation of @var{regs}; you can safely +@xref{Using Registers}, for an explanation of @var{regs}; you can safely pass zero. @code{re_match} matches the regular expression in @var{pattern_buffer}