diff options
author | Shmuel Zeigerman <solomuz0@gmail.com> | 2012-02-13 14:42:31 +0200 |
---|---|---|
committer | Shmuel Zeigerman <solomuz0@gmail.com> | 2012-02-13 14:42:31 +0200 |
commit | 94b08ae226ca1e2ccb4c88ab51d2679b858d646e (patch) | |
tree | 5a6ce5ab7f67727dc7f8e5eea24543a45037de82 /doc | |
parent | 9a4df7ffa58f90a802b9ce5704cb2452cb54fc9e (diff) | |
download | lrexlib-94b08ae226ca1e2ccb4c88ab51d2679b858d646e.tar.gz |
Removed function plainfind.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual.txt | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/doc/manual.txt b/doc/manual.txt index d6bedf8..1b5ea53 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -829,45 +829,6 @@ This function returns a string containing the version of the used TRE library. ------------------------------------------------------------ -Other functions -~~~~~~~~~~~~~~~ - -plainfind ---------- - -:funcdef:`rex.plainfind (subj, patt, [init], [ci])` - -The function searches for the first match of the string *patt* in the subject -*subj*, starting from offset *init*. - - * The string *patt* is not regular expression, all its characters stand for - themselves. - * Both strings *subj* and *patt* can have embedded zeros. - * The flag *ci* specifies case-insensitive search (current locale is used). - * This function uses no regex library. - - +---------+---------------------------+--------+-------------+ - |Parameter| Description | Type |Default Value| - +=========+===========================+========+=============+ - | subj |subject | string | n/a | - +---------+---------------------------+--------+-------------+ - | patt |text to find | string | n/a | - +---------+---------------------------+--------+-------------+ - | [init] |start offset in the subject| number | 1 | - | |(can be negative) | | | - +---------+---------------------------+--------+-------------+ - | [ci] |case insensitive search |boolean | ``false`` | - +---------+---------------------------+--------+-------------+ - -**Returns on success:** - 1. The start point of the match (a number). - 2. The end point of the match (a number). - -**Returns on failure:** - 1. ``nil`` - ------------------------------------------------------------- - Incompatibilities with previous versions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |