Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updates for 0.8.0.

darcs-hash:20090920074952-ced27-263d97034981850b6fd321885ed82d32396be3b6.gz
  • Loading branch information...
commit cdce45e8dd7a3b36954022b4a4d3570e1ac5a4f8 1 parent 9301b14
Ville Laurikari authored
View
10 NEWS
@@ -1,3 +1,13 @@
+Version 0.8.0
+ - Added tre_ prefix to all functions exported from libtre. This
+ changes the binary interface (ABI). The old source interface
+ (API) is still available in <tre/regex.h>. New programs should
+ use <tre/tre.h>.
+
+ - Visual C++ 6 project files replaced with Visual Studio 2008 files.
+
+ - Bug fixes.
+
Version 0.7.6
- The license is changed from LGPL to a BSD-style license. The new
license is essentially the same as the "2 clause" BSD-style
View
1  THANKS
@@ -23,6 +23,7 @@ Dominick Meglio <codemstr@ptd.net>
Aymeric Moizard <jack@atosc.org>
Daniel Nylander <po@danielnylander.se>
William J Poser <wjposer@ldc.upenn.edu>
+Nikolai Saoukh <nms+python@otdel1.org>
Santiago Vila <sanvila@unex.es>
Nikolai Weibull <nikolai@bitwi.se>
Bill Yerazunis <wsy@merl.com>
View
2  configure.ac
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(TRE, 0.7.6, [tre-general@lists.laurikari.net])
+AC_INIT(TRE, 0.8.0, [tre-general@lists.laurikari.net])
AC_CONFIG_SRCDIR([lib/regcomp.c])
AC_CONFIG_AUX_DIR(utils)
AC_CANONICAL_TARGET
View
23 doc/tre-syntax.html
@@ -140,12 +140,13 @@
<p>
-Adding a <tt>?</tt> to a repeat operator makes the subexpression
-minimal, or non-greedy. Normally a repeated expression is greedy,
-that is, it matches as many characters as possible. A non-greedy
-subexpression matches as few characters as possible. Note that this
-does not (always) mean the same thing as matching as many or few
-repetitions as possible.
+Adding a <tt>?</tt> to a repeat operator makes the subexpression minimal, or
+non-greedy. Normally a repeated expression is greedy, that is, it matches as
+many characters as possible. A non-greedy subexpression matches as few
+characters as possible. Note that this does not (always) mean the same thing
+as matching as many or few repetitions as possible. Also note
+that <strong>minimal repetitions are not currently supported for approximate
+matching</strong>.
</p>
<h3>Approximate matching settings</h3>
@@ -193,7 +194,9 @@
can have a multiplier for each of <tt>i</tt>, <tt>d</tt>, and
<tt>s</tt>. The multiplier is the cost of the error, and the number
after <tt>&lt;</tt> is the maximum allowed cost of a match. Spaces
-and pluses can be inserted to make the equation readable.
+and pluses can be inserted to make the equation readable. In fact, when
+specifying only a cost equation, adding a space after the opening <tt>{</tt>
+is <strong>required</strong>.
</p>
<p>
@@ -208,7 +211,7 @@
of insertions to two.</dd>
<dt><tt>{&lt;3}</tt></dt>
<dd>Sets the maximum cost to three.
-<dt><tt>{2i + d + 2s &lt; 5}</tt></dt>
+<dt><tt>{ 2i + 1d + 2s &lt; 5 }</tt></dt>
<dd>Sets the cost of an insertion to two, a deletion to one, a
substitution to two, and the maximum cost to five.
</dl>
@@ -394,14 +397,14 @@
</td></tr>
</table>
-Options allow compile time options to be turned on/off for particular parts of the
+Options allow compile time options to be turned on/off for particular parts of the
regular expression. The options equate to several compile time options specified to
the regcomp API function. If the option is specified in the first section, it is
turned on. If it is specified in the second section (after the <tt>-</tt>), it is
turned off.
<ul>
<li>i - Case insensitive.
-<li>n - Forces special handling of the new line character. See the REG_NEWLINE flag in
+<li>n - Forces special handling of the new line character. See the REG_NEWLINE flag in
the <a href="tre-api.html">API Manual</a>.
<li>r - Causes the regex to be matched in a right associative manner rather than the normal
left associative manner.
View
2  po/fi.po
@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: TRE 0.7.4\n"
"Report-Msgid-Bugs-To: tre-general@lists.laurikari.net\n"
-"POT-Creation-Date: 2009-05-22 12:11+0300\n"
+"POT-Creation-Date: 2009-09-18 15:41+0300\n"
"PO-Revision-Date: 2002-07-29 23:46+0300\n"
"Last-Translator: Ville Laurikari <vl@iki.fi>\n"
"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
View
2  po/sv.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: tre\n"
"Report-Msgid-Bugs-To: tre-general@lists.laurikari.net\n"
-"POT-Creation-Date: 2009-05-22 12:11+0300\n"
+"POT-Creation-Date: 2009-09-18 15:41+0300\n"
"PO-Revision-Date: 2006-05-23 21:27+0100\n"
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
Please sign in to comment.
Something went wrong with that request. Please try again.