diff options
author | Reuben Thomas <rrt@sc3d.org> | 2010-10-05 13:25:11 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2010-10-05 13:25:11 +0100 |
commit | b9b9d1407309e189c551a9c689c94a2875ec6219 (patch) | |
tree | d981b63a7a786266903efa752a945fb77964b098 | |
parent | 0585eac16a9b9054b1e0e03d87c547e26edec461 (diff) | |
download | lrexlib-b9b9d1407309e189c551a9c689c94a2875ec6219.tar.gz |
Clarify what is meant by backwards searching.
-rw-r--r-- | doc/manual.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/manual.txt b/doc/manual.txt index cda6f26..7022864 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -402,9 +402,11 @@ constants in the used library. They are formed as follows: * **GNU**: the GNU library provides the flags ``not_bol``, which stops a beginning-of-line anchor from matching at the start of a string, ``not_eol``, which stops an end-of-line anchor from matching at the end of a string, and - ``backward`` which causes the search to be performed backwards, as well as the - RE_xxx syntax specifiers (as defined in regex.h), omitting the RE\_ prefix. - For example, RE_SYNTAX_GREP becomes ``SYNTAX_GREP`` in Lua. + ``backward`` which causes the search to be performed backwards (that is, the + pattern is matched from positions starting at the end of the string; however, + the matches themselves are still made forwards), as well as the RE_xxx syntax + specifiers (as defined in regex.h), omitting the RE\_ prefix. For example, + RE_SYNTAX_GREP becomes ``SYNTAX_GREP`` in Lua. ------------------------------------------------------------ |