Skip to content
This repository
Browse code

Updates for 0.8.0.

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

0 comments on commit cdce45e

Please sign in to comment.
Something went wrong with that request. Please try again.