diff options
author | Shmuel Zeigerman <solomuz0@gmail.com> | 2012-04-12 15:26:30 +0300 |
---|---|---|
committer | Shmuel Zeigerman <solomuz0@gmail.com> | 2012-04-12 15:26:30 +0300 |
commit | d00b0c048d148f2cbe5367627300c9ba7fcd2a12 (patch) | |
tree | bc2bfc70bfbbf8b667b2f870935452b699441c2d | |
parent | 2c612ab5ceb639bbbd841b91193bf48f3749851f (diff) | |
download | lrexlib-d00b0c048d148f2cbe5367627300c9ba7fcd2a12.tar.gz |
Make up to date with version 2.6.
-rw-r--r-- | index.html | 24 | ||||
-rw-r--r-- | license.html | 6 | ||||
-rw-r--r-- | manual.html | 93 |
3 files changed, 29 insertions, 94 deletions
@@ -4,22 +4,22 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.8: http://docutils.sourceforge.net/" /> -<title>Lrexlib 2.5</title> +<title>Lrexlib 2.6</title> <link rel="stylesheet" href="lrexlib.css" type="text/css" /> </head> <body> -<div class="document" id="lrexlib-2-5"> -<h1 class="title">Lrexlib 2.5</h1> +<div class="document" id="lrexlib-2-6"> +<h1 class="title">Lrexlib 2.6</h1> <div class="line-block"> <div class="line">by Reuben Thomas (<a class="reference external" href="mailto:rrt@sc3d.org">rrt@sc3d.org</a>)</div> <div class="line">and Shmuel Zeigerman (<a class="reference external" href="mailto:shmuz@013net.net">shmuz@013net.net</a>) [maintainer]</div> </div> <p><strong>Lrexlib</strong> provides bindings of five regular expression library APIs -(<a class="reference external" href="http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html">POSIX</a>, <a class="reference external" href="http://www.pcre.org/pcre.txt">PCRE</a>, <a class="reference external" href="ftp://ftp.gnu.org/old-gnu/regex/">GNU</a>, <a class="reference external" href="http://laurikari.net/tre/documentation/">TRE</a> and <a class="reference external" href="http://www.geocities.jp/kosako3/oniguruma/doc/RE.txt">Oniguruma</a>) to <a class="reference external" href="http://www.lua.org">Lua</a> 5.1. The bindings -for TRE and Oniguruma are not currently complete.</p> -<p><strong>Lrexlib</strong> is copyright Reuben Thomas 2000-2010 and copyright Shmuel -Zeigerman 2004-2010, and is released under the same license as Lua, +(<a class="reference external" href="http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html">POSIX</a>, <a class="reference external" href="http://www.pcre.org/pcre.txt">PCRE</a>, <a class="reference external" href="ftp://ftp.gnu.org/old-gnu/regex/">GNU</a>, <a class="reference external" href="http://laurikari.net/tre/documentation/">TRE</a> and <a class="reference external" href="http://www.geocities.jp/kosako3/oniguruma/doc/RE.txt">Oniguruma</a>) to <a class="reference external" href="http://www.lua.org">Lua</a> 5.1 and Lua 5.2. +The bindings for TRE and Oniguruma are not currently complete.</p> +<p><strong>Lrexlib</strong> is copyright Reuben Thomas 2000-2012 and copyright Shmuel +Zeigerman 2004-2012, and is released under the same license as Lua, the <a class="reference external" href="http://www.opensource.org/licenses/mit-license.php">MIT</a> license (otherwise known as the revised BSD license). There is no warranty.</p> <p>Please report bugs and make suggestions to the maintainer, or use the @@ -30,16 +30,16 @@ Gammon for adding support for PCRE named subpatterns.</p> <div class="section" id="links"> <h2>Links</h2> <ul class="simple"> -<li><a class="reference external" href="license.html">License</a></li> -<li>Reference <a class="reference external" href="manual.html">Manual</a></li> -<li>LuaForge Project <a class="reference external" href="http://luaforge.net/projects/lrexlib/">Page</a></li> -<li><a class="reference external" href="http://luaforge.net/frs/?group_id=63">Download</a></li> +<li><a class="reference external" href="http://rrthomas.github.com/lrexlib/license.html">License</a></li> +<li><a class="reference external" href="http://rrthomas.github.com/lrexlib/manual.html">Reference Manual</a></li> +<li><a class="reference external" href="http://luaforge.net/projects/lrexlib/">LuaForge Project Page</a></li> +<li><a class="reference external" href="https://github.com/rrthomas/lrexlib/downloads">Download</a></li> </ul> </div> </div> <div class="footer"> <hr class="footer" /> -Generated on: 2010-10-08 19:05 UTC. +Generated on: 2012-04-10 19:57 UTC. </div> </body> diff --git a/license.html b/license.html index e9287ba..15335ed 100644 --- a/license.html +++ b/license.html @@ -5,9 +5,9 @@ </head> <body> -<h2>Lrexlib 2.5</h2> -<p>Copyright © Reuben Thomas 2000-2010<br> -Copyright © Shmuel Zeigerman 2004-2010 +<h2>Lrexlib 2.6</h2> +<p>Copyright © Reuben Thomas 2000-2012<br> +Copyright © Shmuel Zeigerman 2004-2012 <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/manual.html b/manual.html index bc46e87..85215dc 100644 --- a/manual.html +++ b/manual.html @@ -4,12 +4,12 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.8: http://docutils.sourceforge.net/" /> -<title>Lrexlib 2.5 Reference Manual</title> +<title>Lrexlib 2.6 Reference Manual</title> <link rel="stylesheet" href="lrexlib.css" type="text/css" /> </head> <body> -<div class="document" id="lrexlib-2-5-reference-manual"> -<h1 class="title">Lrexlib 2.5 Reference Manual</h1> +<div class="document" id="lrexlib-2-6-reference-manual"> +<h1 class="title">Lrexlib 2.6 Reference Manual</h1> <div class="contents topic" id="table-of-contents"> <p class="topic-title first">Table of Contents</p> @@ -55,11 +55,7 @@ <li><a class="reference internal" href="#rex-tre-version" id="id38">rex_tre.version</a></li> </ul> </li> -<li><a class="reference internal" href="#other-functions" id="id39">Other functions</a><ul> -<li><a class="reference internal" href="#plainfind" id="id40">plainfind</a></li> -</ul> -</li> -<li><a class="reference internal" href="#incompatibilities-with-previous-versions" id="id41">Incompatibilities with previous versions</a></li> +<li><a class="reference internal" href="#incompatibilities-with-previous-versions" id="id39">Incompatibilities with previous versions</a></li> </ul> </div> <hr class="docutils" /> @@ -1287,78 +1283,17 @@ is used as the output table, else a new table is created.</p> </div> </div> <hr class="docutils" /> -<div class="section" id="other-functions"> -<h2><a class="toc-backref" href="#id39">Other functions</a></h2> -<div class="section" id="plainfind"> -<h3><a class="toc-backref" href="#id40">plainfind</a></h3> -<p><tt class="funcdef docutils literal">rex.plainfind (subj, patt, [init], [ci])</tt></p> -<p>The function searches for the first match of the string <em>patt</em> in the subject -<em>subj</em>, starting from offset <em>init</em>.</p> +<div class="section" id="incompatibilities-with-previous-versions"> +<h2><a class="toc-backref" href="#id39">Incompatibilities with previous versions</a></h2> +<p><strong>Incompatibilities between versions 2.6 and 2.5:</strong></p> <blockquote> -<ul class="simple"> -<li>The string <em>patt</em> is not regular expression, all its characters stand for -themselves.</li> -<li>Both strings <em>subj</em> and <em>patt</em> can have embedded zeros.</li> -<li>The flag <em>ci</em> specifies case-insensitive search (current locale is used).</li> -<li>This function uses no regex library.</li> -</ul> -<table border="1" class="docutils"> -<colgroup> -<col width="16%" /> -<col width="47%" /> -<col width="14%" /> -<col width="23%" /> -</colgroup> -<thead valign="bottom"> -<tr><th class="head">Parameter</th> -<th class="head">Description</th> -<th class="head">Type</th> -<th class="head">Default Value</th> -</tr> -</thead> -<tbody valign="top"> -<tr><td>subj</td> -<td>subject</td> -<td>string</td> -<td>n/a</td> -</tr> -<tr><td>patt</td> -<td>text to find</td> -<td>string</td> -<td>n/a</td> -</tr> -<tr><td>[init]</td> -<td>start offset in the subject -(can be negative)</td> -<td>number</td> -<td>1</td> -</tr> -<tr><td>[ci]</td> -<td>case insensitive search</td> -<td>boolean</td> -<td><tt class="docutils literal">false</tt></td> -</tr> -</tbody> -</table> -</blockquote> -<dl class="docutils"> -<dt><strong>Returns on success:</strong></dt> -<dd><ol class="first last arabic simple"> -<li>The start point of the match (a number).</li> -<li>The end point of the match (a number).</li> -</ol> -</dd> -<dt><strong>Returns on failure:</strong></dt> -<dd><ol class="first last arabic simple"> -<li><tt class="docutils literal">nil</tt></li> +<ol class="arabic simple"> +<li>Removed function <tt class="docutils literal">plainfind</tt>.</li> +<li>Global variables (e.g. <em>rex_posix</em>, <em>rex_pcre</em>, etc.) are not created +by default. This can be changed at the stage of compilation by adding +<tt class="docutils literal"><span class="pre">-DREX_CREATEGLOBALVAR</span></tt> to <tt class="docutils literal">CFLAGS</tt>.</li> </ol> -</dd> -</dl> -</div> -</div> -<hr class="docutils" /> -<div class="section" id="incompatibilities-with-previous-versions"> -<h2><a class="toc-backref" href="#id41">Incompatibilities with previous versions</a></h2> +</blockquote> <p><strong>Incompatibilities between versions 2.2 and 2.1:</strong></p> <blockquote> <ol class="arabic simple"> @@ -1395,7 +1330,7 @@ subpatterns</em></li> </div> <div class="footer"> <hr class="footer" /> -Generated on: 2010-11-11 05:39 UTC. +Generated on: 2012-04-10 19:52 UTC. </div> </body> |