X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fregex.texi;h=3c31db3b5da30f1cf9598f1ed99679ca7c1ce3d7;hb=6a43f7b2199b69e39f804fd7b432f86f10c66e0e;hp=bfc34715c08a559464444086809f7a922639b2e3;hpb=c9ff025783e5374226ffbf7940f40ce7db6852ed;p=gnulib.git diff --git a/doc/regex.texi b/doc/regex.texi index bfc34715c..3c31db3b5 100644 --- a/doc/regex.texi +++ b/doc/regex.texi @@ -121,7 +121,7 @@ order: If this bit is set, then @samp{\} inside a list (@pxref{List Operators} quotes (makes ordinary, if it's special) the following character; if this bit isn't set, then @samp{\} is an ordinary character inside lists. -(@xref{The Backslash Character}, for what `\' does outside of lists.) +(@xref{The Backslash Character}, for what @samp{\} does outside of lists.) @cnindex RE_BK_PLUS_QM @item RE_BK_PLUS_QM @@ -387,7 +387,7 @@ This generalizes the notion of a character in two ways. First, a single character can map into two or more collating elements. For example, the German @tex -`\ss' +``\ss'' @end tex @ifinfo ``es-zet'' @@ -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 @@ -1474,7 +1474,7 @@ provide more options than the other interfaces. * GNU Searching:: re_search () * Matching/Searching with Split Data:: re_match_2 (), re_search_2 () * Searching with Fastmaps:: re_compile_fastmap () -* GNU Translate Tables:: The `translate' field. +* GNU Translate Tables:: The @code{translate} field. * Using Registers:: The re_registers type and related fns. * Freeing GNU Pattern Buffers:: regfree () @end menu @@ -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} @@ -1853,7 +1853,7 @@ matching or searching with the pattern buffer. @node Using Registers @subsection Using Registers -A group in a regular expression can match a (posssibly empty) substring +A group in a regular expression can match a (possibly empty) substring of the string that regular expression as a whole matched. The matcher remembers the beginning and end of the substring matched by each group.