<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/tiny-rex/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/tiny-rex/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 09 Feb 2012 00:23:10 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/tiny-rex/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Spurious *p++ constructs in code</title><link>https://sourceforge.net/p/tiny-rex/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;On lines 510, 516, 522, 528, and 618 of trex.cc, there are several pointer increments of the form:&lt;/p&gt;
&lt;p&gt;*p++&lt;/p&gt;
&lt;p&gt;Where the value acquired by deferencing p is not used in any way.  It is likely that the author meant:&lt;/p&gt;
&lt;p&gt;p++ &lt;/p&gt;
&lt;p&gt;In all these places.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Byrd</dc:creator><pubDate>Thu, 09 Feb 2012 00:23:10 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7af10c5fcd2f9063ef20ba5ffab455fee6ba09a7</guid></item><item><title>Incorrect matching behaviour</title><link>https://sourceforge.net/p/tiny-rex/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;T-Rex 1.3 does not correctly handle the following simple test case:&lt;/p&gt;
&lt;p&gt;REGEXP                     STRING                     RESULT&lt;br /&gt;
^.*_C$                        AB_C                           match (correct)&lt;br /&gt;
^.*_C$                        A_B_C                         non-match (INCORRECT)&lt;br /&gt;
^.*_C$                        _C                               non-match (INCORRECT)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maxim Zinal</dc:creator><pubDate>Wed, 28 Dec 2011 12:54:42 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net76c88c2f5c49da47a1c5dff08aca45c0f0b1c242</guid></item><item><title>Patch for C++ on MS Visual Studio 2005</title><link>https://sourceforge.net/p/tiny-rex/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;MS Visual Studio 2005 doesn't seem too impressed with &lt;br /&gt;
extern "C" {&lt;br /&gt;
#include "trex.h"&lt;br /&gt;
}&lt;br /&gt;
and still compiles with C++ name mangling causing linker errors.&lt;/p&gt;
&lt;p&gt;The fix is to place wrap the entire trex.h conditionally with extern "C" { } when __cplusplus is defined. Both should work, but MS is broken, so, apply the attached patch if having trouble.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 25 Feb 2011 17:32:21 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net81c363f9ce0958830281ff046b7b29abc70feac0</guid></item><item><title>unicode version not tested</title><link>https://sourceforge.net/p/tiny-rex/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The unicode version seems to not have been tested&lt;/p&gt;
&lt;p&gt;#ifdef _UINCODE             &amp;lt;==== _UNICODE&lt;br /&gt;
#define scisprint iswprint&lt;br /&gt;
#define scstrlen wcslen&lt;br /&gt;
#define scprintf wprintf&lt;br /&gt;
#define _SC(x) L(x)         &amp;lt;==== L##x&lt;br /&gt;
#else&lt;br /&gt;
#define scisprint isprint&lt;br /&gt;
#define scstrlen strlen&lt;br /&gt;
#define scprintf printf&lt;br /&gt;
#define _SC(x) (x)&lt;br /&gt;
#endif&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 22 Aug 2008 10:35:26 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net52e23b7ac1d1f27b9965307ce00d7e6f132ea4e2</guid></item><item><title>empty capture expression</title><link>https://sourceforge.net/p/tiny-rex/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello! &lt;/p&gt;
&lt;p&gt;After downloading t-rex1.3 release i've discovered a bug: empty capture expression. &lt;/p&gt;
&lt;p&gt;Using test.c i've tested some (pattern, test string) pairs. &lt;br /&gt;
Here it is: &lt;/p&gt;
&lt;p&gt;For the pattern "abc([0-9]{2})(a)(b)" and the string to be tested "abc12ab". &lt;br /&gt;
The captures were:&lt;br /&gt;
[0]abc12ab &lt;br /&gt;
[1]12 &lt;br /&gt;
[2] &lt;br /&gt;
[3]b &lt;br /&gt;
match! 4 sub matches. &lt;/p&gt;
&lt;p&gt;For the pattern "abc([0-9]{1})(a)(b)" and test string "abc1ab" the captures were ok. &lt;/p&gt;
&lt;p&gt;It surprised me to see that release 1.0 was displaying the correct output: &lt;br /&gt;
[0]abc12ab &lt;br /&gt;
[1]12 &lt;br /&gt;
[2]a &lt;br /&gt;
[3]b &lt;br /&gt;
match! 4 sub matches &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ancuta_onofrei</dc:creator><pubDate>Tue, 28 Aug 2007 11:03:06 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netc6410c85d56c97d7ea189f6263583dca69e42c16</guid></item></channel></rss>