summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShmuel Zeigerman <solomuz0@gmail.com>2015-02-27 23:37:28 +0200
committerShmuel Zeigerman <solomuz0@gmail.com>2015-02-27 23:37:28 +0200
commit5567dafc1e068863921474459af575ddbfe51aa3 (patch)
tree3c8b357b0beac17653d72a555041dcbd798b5a81
parent75370964b1ba2502b8a79c29ef76d401142a6e7d (diff)
downloadlrexlib-5567dafc1e068863921474459af575ddbfe51aa3.tar.gz
Update docs to version 2.8.0
-rw-r--r--index.html10
-rw-r--r--license.html4
-rw-r--r--manual.html12
3 files changed, 18 insertions, 8 deletions
diff --git a/index.html b/index.html
index 025b133..10a5baa 100644
--- a/index.html
+++ b/index.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.8.1: http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.8: http://docutils.sourceforge.net/" />
<title>Lrexlib</title>
<link rel="stylesheet" href="lrexlib.css" type="text/css" />
</head>
@@ -16,10 +16,10 @@
<div class="line">and Shmuel Zeigerman (<a class="reference external" href="mailto:shmuz&#64;013net.net">shmuz&#64;013net.net</a>)</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 and Lua 5.2.
+(<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> &gt;= 5.1.
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,
+<p><strong>Lrexlib</strong> is copyright Reuben Thomas 2000-2015 and copyright Shmuel
+Zeigerman 2004-2015, 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
@@ -47,7 +47,7 @@ luarocks install lrexlib-FLAVOUR
</div>
<div class="footer">
<hr class="footer" />
-Generated on: 2013-03-02 07:52 UTC.
+Generated on: 2015-02-27 21:34 UTC.
</div>
</body>
diff --git a/license.html b/license.html
index 91c476a..120db22 100644
--- a/license.html
+++ b/license.html
@@ -6,8 +6,8 @@
<body>
<h2>Lrexlib</h2>
-<p>Copyright &copy; Reuben Thomas 2000-2012<br>
-Copyright &copy; Shmuel Zeigerman 2004-2012
+<p>Copyright &copy; Reuben Thomas 2000-2015<br>
+Copyright &copy; Shmuel Zeigerman 2004-2015
<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 8a49064..a0ae95c 100644
--- a/manual.html
+++ b/manual.html
@@ -196,6 +196,9 @@ e.g. Spencer's.</li>
<ol class="arabic simple" id="larg" start="9">
<li>The notation <em>larg...</em> is used to indicate optional library-specific
arguments, which are documented in the <tt class="docutils literal">new</tt> method of each library.</li>
+<li>In the functions searching for multiple matches (<tt class="docutils literal">gmatch</tt>, <tt class="docutils literal">gsub</tt>,
+<tt class="docutils literal">split</tt>, <tt class="docutils literal">count</tt>) every empty match adjacent to the previous match
+is discarded, e.g. <tt class="docutils literal"><span class="pre">rex.count(&quot;abc&quot;,&quot;.*&quot;)</span></tt> will return 1.</li>
</ol>
</div>
<hr class="docutils" />
@@ -1364,6 +1367,13 @@ is used as the output table, else a new table is created.</p>
<hr class="docutils" />
<div class="section" id="incompatibilities-with-previous-versions">
<h2><a class="toc-backref" href="#id41">Incompatibilities with previous versions</a></h2>
+<p><strong>Incompatibilities between versions 2.8 and 2.7:</strong></p>
+<blockquote>
+<ol class="arabic simple">
+<li>In the functions searching for multiple matches every empty match adjacent
+to the previous match is discarded.</li>
+</ol>
+</blockquote>
<p><strong>Incompatibilities between versions 2.6 and 2.5:</strong></p>
<blockquote>
<ol class="arabic simple">
@@ -1409,7 +1419,7 @@ subpatterns</em></li>
</div>
<div class="footer">
<hr class="footer" />
-Generated on: 2014-10-30 16:55 UTC.
+Generated on: 2015-02-27 11:34 UTC.
</div>
</body>