summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2010-10-05 13:25:11 +0100
committerReuben Thomas <rrt@sc3d.org>2010-10-05 13:25:11 +0100
commitb9b9d1407309e189c551a9c689c94a2875ec6219 (patch)
treed981b63a7a786266903efa752a945fb77964b098
parent0585eac16a9b9054b1e0e03d87c547e26edec461 (diff)
downloadlrexlib-b9b9d1407309e189c551a9c689c94a2875ec6219.tar.gz
Clarify what is meant by backwards searching.
-rw-r--r--doc/manual.txt8
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.
------------------------------------------------------------