<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/pcre/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/pcre/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 30 Oct 2022 19:04:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pcre/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>GitHub migration is not complete</title><link>https://sourceforge.net/p/pcre/feature-requests/36/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Dear PCRE team, &lt;a class="user-mention" href="/u/mish_the_fish/"&gt;@mish_the_fish&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Can you add a "move" box like &lt;a href="https://sourceforge.net/projects/handbrake"&gt;https://sourceforge.net/projects/handbrake&lt;/a&gt; for example.&lt;br/&gt;
- &lt;a href="https://sourceforge.net/projects/pcre/"&gt;https://sourceforge.net/projects/pcre/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To change informations, go here: &lt;a href="https://sourceforge.net/p/pcre/admin/overview"&gt;https://sourceforge.net/p/pcre/admin/overview&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The new place can be added in:&lt;br/&gt;
- "Moved Project to", here: &lt;a href="https://sourceforge.net/p/pcre/admin/overview"&gt;https://sourceforge.net/p/pcre/admin/overview&lt;/a&gt;&lt;br/&gt;
- "Preferred Support Page (for users of your project)", here: &lt;a href="https://sourceforge.net/p/pcre/admin/overview"&gt;https://sourceforge.net/p/pcre/admin/overview&lt;/a&gt;&lt;br/&gt;
- A new tab, go here: &lt;a href="https://sourceforge.net/projects/pcre/"&gt;https://sourceforge.net/projects/pcre/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Maybe you can add other team members in this project administration.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Neustradamus</dc:creator><pubDate>Sun, 30 Oct 2022 19:04:08 -0000</pubDate><guid>https://sourceforge.net5fdd184523056ea7ac6b372840b2dd187062becd</guid></item><item><title>#35 Error when make the project</title><link>https://sourceforge.net/p/pcre/feature-requests/35/?limit=25#6d29</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I finnaly complite the building but I have a question:&lt;br/&gt;
I must move the project on a "simple" directory on MSYS2 (c:\msys2\home\ without space) because although make will fail with this error:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;In file included from src/pcre2posix.c:47:0:
src/config.h:231:0: note: this is the location of the previous definition
 #define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility ("default")))

  CCLD     libpcre2-posix.la
/usr/bin/sed: can't read 2007/pcre2-10.30/pcre2-10.30/libpcre2-8.la: No such file or directory
libtool:   error: '2007/pcre2-10.30/pcre2-10.30/libpcre2-8.la' is not a valid libtool archive
make[1]: *** [Makefile:1563: libpcre2-posix.la] Error 1
make[1]: Leaving directory '/c/Standard 2007/pcre2-10.30/pcre2-10.30'
make: *** [Makefile:1282: all] Error 2
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I found this file lt-pcre2grep.c a wrong const that coud be fail the compilation&lt;br/&gt;
&lt;code&gt;const char * LIB_PATH_VALUE   = ""C:\\Standard 2007\\pcre2-10.30\\pcre2-10.30\\.libs";";&lt;/code&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drazde</dc:creator><pubDate>Thu, 12 Oct 2017 07:42:42 -0000</pubDate><guid>https://sourceforge.net734bd6e6225c37ed7c980c7823b27c234bd38315</guid></item><item><title>#35 Error when make the project</title><link>https://sourceforge.net/p/pcre/feature-requests/35/?limit=25#5e1a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm sorry, i didn't follow (completely) the guide NON-AUTOTOOLS-BUILD...&lt;br/&gt;
probably because yesterday I was bourned out (after a day of work :( )&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drazde</dc:creator><pubDate>Thu, 12 Oct 2017 07:33:14 -0000</pubDate><guid>https://sourceforge.neta8f013b10a01355de99f403f2c02cf00b64f12df</guid></item><item><title>Error when make the project</title><link>https://sourceforge.net/p/pcre/feature-requests/35/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When I try to compile on MSYS (on Windos 10), I have this error&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;$ make
rm -f src/pcre2_chartables.c
cp -pR /c/Standard &lt;span class="m"&gt;2007&lt;/span&gt;/pcre2-10.30/pcre2-10.30/src/pcre2_chartables.c.dist /c/Standard &lt;span class="m"&gt;2007&lt;/span&gt;/pcre2-10.30/pcre2-10.30/src/pcre2_chartables.c
cp: target &lt;span class="s1"&gt;'2007/pcre2-10.30/pcre2-10.30/src/pcre2_chartables.c'&lt;/span&gt; is not a directory
make: *** &lt;span class="o"&gt;[&lt;/span&gt;Makefile:3217: src/pcre2_chartables.c&lt;span class="o"&gt;]&lt;/span&gt; Error &lt;span class="m"&gt;1&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">drazde</dc:creator><pubDate>Wed, 11 Oct 2017 16:52:20 -0000</pubDate><guid>https://sourceforge.net16d77a1c749078058dab7777048c3feb70ef4017</guid></item><item><title>pcre_exec doesn't return PCRE_ERROR_BADUTF8 for invalid UTF8</title><link>https://sourceforge.net/p/pcre/feature-requests/34/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I found some invalid UTF8 chars that do not trigger a PCRE_ERROR_BADUTF8 error when found in the subject string :&lt;/p&gt;
&lt;p&gt;\xF4\x92\x94\x95&lt;br /&gt;
\xED\xB2\x94&lt;/p&gt;
&lt;p&gt;Tested with verion 6.6 and 7.0&lt;/p&gt;
&lt;p&gt;See table 3-6 of &lt;a href="http://www.unicode.org/versions/Unicode4.0.0/ch03.pdf" rel="nofollow"&gt;http://www.unicode.org/versions/Unicode4.0.0/ch03.pdf&lt;/a&gt; for valid UTF8 chars.&lt;/p&gt;
&lt;p&gt;Because of this bug in libpcre and other implementations I tried, I went and implemented my own is_utf8() function (plus unit test). I'd be happy to send you the function or the unit test if you want it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vincent de Phily</dc:creator><pubDate>Thu, 05 Apr 2007 17:31:37 -0000</pubDate><guid>https://sourceforge.net9ea43a88a94a0d0083986f8bc02a60f614b30321</guid></item><item><title>Lookbehind assert (?&lt;=) error in pcre_dfa_exec</title><link>https://sourceforge.net/p/pcre/feature-requests/33/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This can work:&lt;br /&gt;
////////////////&lt;br /&gt;
re&amp;gt; /(?&amp;lt;=a)b/&lt;br /&gt;
data&amp;gt; ab&lt;br /&gt;
0: b&lt;br /&gt;
///////////////&lt;/p&gt;
&lt;p&gt;But this can not:&lt;br /&gt;
///////////////&lt;br /&gt;
re&amp;gt; /(?&amp;lt;=a)b/&lt;br /&gt;
data&amp;gt; a/P/D&lt;br /&gt;
No match&lt;br /&gt;
data&amp;gt; b/R/P/D&lt;br /&gt;
No match&lt;br /&gt;
///////////////&lt;/p&gt;
&lt;p&gt;I think the second one should also get matched.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 26 Mar 2007 14:47:10 -0000</pubDate><guid>https://sourceforge.net053a47a521eacdf4994f9b06d6b3cfe45bf37b44</guid></item><item><title>PHP Segmentation Fault on PCRE preg_match_all()</title><link>https://sourceforge.net/p/pcre/feature-requests/32/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Good Morning,&lt;br /&gt;
we're getting a Segmentation Fault error calling preg_match_all() in PHP 4.4.6 (that uses PCRE 7.0).&lt;/p&gt;
&lt;p&gt;Perhaps you can help us solving this problem. I post the PHP BUG url:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bugs.php.net/bug.php?id=40909" rel="nofollow"&gt;http://bugs.php.net/bug.php?id=40909&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you in advice&lt;br /&gt;
Adriano C.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 26 Mar 2007 11:53:57 -0000</pubDate><guid>https://sourceforge.net15addc4d0a1e017c4553cdba9c24518e2d397467</guid></item><item><title>PCRE Bug or Smarty Bug?</title><link>https://sourceforge.net/p/pcre/feature-requests/31/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;After upgrading to version 7.0 of PCRE smarty for PHP stops working. The only way to get it working again is downgrading PCRE. &lt;br /&gt;
Smarty stop responding on this line :&lt;br /&gt;
preg_match_all('~\|(@?\w+)((?&amp;gt;:(?:'. $this-&amp;gt;_qstr_regexp . '|[^|]+))*)~', '|' . $modifier_string, $_match);&lt;br /&gt;
There's a topic on &lt;a href="http://www.phpinsider.com/smarty-forum/viewtopic.php?t=10467" rel="nofollow"&gt;http://www.phpinsider.com/smarty-forum/viewtopic.php?t=10467&lt;/a&gt;&lt;br /&gt;
Is this problem smarty related or PCRE? S&lt;br /&gt;
marty works fine with version PCRE 6.6_1. It's running on freebsd6 with apache2 and php5.2&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;Ruud Boon&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ruud Boon</dc:creator><pubDate>Sun, 04 Mar 2007 12:13:41 -0000</pubDate><guid>https://sourceforge.net995df4d1225f66784e42b7c9cc4cbbcc28f97eac</guid></item><item><title>Subroutine bug with certain patterns.</title><link>https://sourceforge.net/p/pcre/feature-requests/30/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Below is the pcretest output (7.0 version):&lt;/p&gt;
&lt;p&gt;* The first pattern works correctly: a|(ab) matches both 'a' and 'ab'.&lt;/p&gt;
&lt;p&gt;* The second pattern also works correctly:&lt;br /&gt;
(a|(ab)) | ( y(a|(ab)) )&lt;br /&gt;
matches 'a', 'ab', 'ya', 'yab'.&lt;/p&gt;
&lt;p&gt;* Trouble starts with the third pattern, when a subroutine is used for a|(ab): now the string 'yab' doesn't match (but should).&lt;/p&gt;
&lt;p&gt;* Trouble remains when using a named subroutine.&lt;/p&gt;
&lt;p&gt;* All's fixed if the a|(ab) is changed to (ab?).&lt;/p&gt;
&lt;p&gt;Seems like a lookahead problem in the context of subroutines, with maybe caching in the mix...&lt;/p&gt;
&lt;p&gt;PCRE version 7.0 18-Dec-2006&lt;/p&gt;
&lt;p&gt;/^(a|(ab))$/&lt;br /&gt;
a&lt;br /&gt;
0: a&lt;br /&gt;
1: a&lt;br /&gt;
ab&lt;br /&gt;
0: ab&lt;br /&gt;
1: ab&lt;br /&gt;
2: ab&lt;/p&gt;
&lt;p&gt;/^((a|(ab))|(y(a|(ab))))$/&lt;br /&gt;
a&lt;br /&gt;
0: a&lt;br /&gt;
1: a&lt;br /&gt;
2: a&lt;br /&gt;
ab&lt;br /&gt;
0: ab&lt;br /&gt;
1: ab&lt;br /&gt;
2: ab&lt;br /&gt;
3: ab&lt;br /&gt;
ya&lt;br /&gt;
0: ya&lt;br /&gt;
1: ya&lt;br /&gt;
2: &amp;lt;unset&amp;gt;&lt;br /&gt;
3: &amp;lt;unset&amp;gt;&lt;br /&gt;
4: ya&lt;br /&gt;
5: a&lt;br /&gt;
yab&lt;br /&gt;
0: yab&lt;br /&gt;
1: yab&lt;br /&gt;
2: &amp;lt;unset&amp;gt;&lt;br /&gt;
3: &amp;lt;unset&amp;gt;&lt;br /&gt;
4: yab&lt;br /&gt;
5: ab&lt;br /&gt;
6: ab&lt;/p&gt;
&lt;p&gt;/^((a|(ab))|(y(?1)))$/&lt;br /&gt;
a&lt;br /&gt;
0: a&lt;br /&gt;
1: a&lt;br /&gt;
2: a&lt;br /&gt;
ab&lt;br /&gt;
0: ab&lt;br /&gt;
1: ab&lt;br /&gt;
2: ab&lt;br /&gt;
3: ab&lt;br /&gt;
ya&lt;br /&gt;
0: ya&lt;br /&gt;
1: ya&lt;br /&gt;
2: &amp;lt;unset&amp;gt;&lt;br /&gt;
3: &amp;lt;unset&amp;gt;&lt;br /&gt;
4: ya&lt;br /&gt;
yab&lt;br /&gt;
No match&lt;/p&gt;
&lt;p&gt;/^((?P&amp;lt;PAT&amp;gt;(a|(ab)))|(y(?P&amp;gt;PAT)))$/&lt;br /&gt;
a&lt;br /&gt;
0: a&lt;br /&gt;
1: a&lt;br /&gt;
2: a&lt;br /&gt;
3: a&lt;br /&gt;
ab&lt;br /&gt;
0: ab&lt;br /&gt;
1: ab&lt;br /&gt;
2: ab&lt;br /&gt;
3: ab&lt;br /&gt;
4: ab&lt;br /&gt;
ya&lt;br /&gt;
0: ya&lt;br /&gt;
1: ya&lt;br /&gt;
2: &amp;lt;unset&amp;gt;&lt;br /&gt;
3: &amp;lt;unset&amp;gt;&lt;br /&gt;
4: &amp;lt;unset&amp;gt;&lt;br /&gt;
5: ya&lt;br /&gt;
yab&lt;br /&gt;
No match&lt;/p&gt;
&lt;p&gt;/^((ab?)|(y(?1)))$/&lt;br /&gt;
a&lt;br /&gt;
0: a&lt;br /&gt;
1: a&lt;br /&gt;
2: a&lt;br /&gt;
ab&lt;br /&gt;
0: ab&lt;br /&gt;
1: ab&lt;br /&gt;
2: ab&lt;br /&gt;
ya&lt;br /&gt;
0: ya&lt;br /&gt;
1: ya&lt;br /&gt;
2: &amp;lt;unset&amp;gt;&lt;br /&gt;
3: ya&lt;br /&gt;
yab&lt;br /&gt;
0: yab&lt;br /&gt;
1: yab&lt;br /&gt;
2: &amp;lt;unset&amp;gt;&lt;br /&gt;
3: yab&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Apostolos Lerios</dc:creator><pubDate>Mon, 29 Jan 2007 22:09:36 -0000</pubDate><guid>https://sourceforge.net2c6cfc5d6e2eadfd23e3e8168cdc48eb6eead4f4</guid></item><item><title>BUG using the pattern "\s"</title><link>https://sourceforge.net/p/pcre/feature-requests/29/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Tested with PCRE 6.7 -&amp;gt; 4.5&lt;/p&gt;
&lt;p&gt;when replacing an utf-8 string containing the character 'à' (hex: c3a0)&lt;br /&gt;
With the function preg_replace, and the pattern '\s', it changes the&lt;br /&gt;
second byte of this character.&lt;/p&gt;
&lt;p&gt;Using the pattern ' \t\f\r\n' which is supposed to be the same as \s it&lt;br /&gt;
works perfectly.&lt;/p&gt;
&lt;p&gt;I have tried with other utf-8 characters and it seems to work.&lt;/p&gt;
&lt;p&gt;Reproduce code:&lt;br /&gt;
---------------&lt;br /&gt;
&amp;lt;?&lt;br /&gt;
$text = utf8_encode("this is a test àt");&lt;br /&gt;
echo bin2hex($text)."\r\n";&lt;br /&gt;
$text1 = preg_replace("'([\t\f\r\n])+'", " ", $text);&lt;br /&gt;
echo bin2hex($text1)."\r\n";&lt;br /&gt;
echo $text1."\r\n";;&lt;br /&gt;
$text2 = preg_replace("'([\s])+'", " ", $text);&lt;br /&gt;
echo bin2hex($text2)."\r\n";&lt;br /&gt;
echo $text2;&lt;br /&gt;
?&amp;gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bertrand db</dc:creator><pubDate>Thu, 11 Jan 2007 09:22:28 -0000</pubDate><guid>https://sourceforge.net834fb872a381b7fc298b9ed4ce7fbf3342ab1adf</guid></item></channel></rss>