This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
91
The Pub / Re: Logo Madness
« on January 26th, 2014, 10:16 PM »
Uhm, I like the actual one more. :)
92
Off-topic / Re: Aeva: preg_replace(): The /e modifier is deprecated, use preg_replace_callback
« on January 26th, 2014, 10:15 PM »What about..Code: [Select] $pattern = '~(\[' . $tag . '])((?>[^[]++|\[(?!/?+' . $tag . '])|(?R))*+)(\[/'
. $tag . '])~i';
$message = preg_replace_callback($pattern,
function ($m) {
return $m[1]
. str_ireplace('[smg', '[smg', $m[2])
. $m[3];
}, $message);
93
Off-topic / Re: Aeva: preg_replace(): The /e modifier is deprecated, use preg_replace_callback
« on January 26th, 2014, 02:28 AM »
Will try tomorrow :)
Nao what's the goal of the regex? Is it to replace all [ before smg inside all nested levels inside [$tag] tags with [ ..?
What about..
Code: [Select]
Posted: January 25th, 2014, 08:03 PM
Nao what's the goal of the regex? Is it to replace all [ before smg inside all nested levels inside [$tag] tags with [ ..?
Posted: January 26th, 2014, 02:03 AM
What about..
$pattern = '~(\[' . $tag . '])((?>[^[]++|\[(?!/?+' . $tag . '])|(?R))*+)(\[/'
. $tag . '])~i';
$message = preg_replace_callback($pattern,
function ($m) {
return $m[1]
. str_ireplace('[smg', '[smg', $m[2])
. $m[3];
}, $message);
94
Off-topic / Re: Aeva: preg_replace(): The /e modifier is deprecated, use preg_replace_callback
« on January 25th, 2014, 06:15 PM »
Ehm... this should be the only one left (preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead)
Code: [Select] Aeva-Subs.php:2546
$message = preg_replace('~\[' . $tag . ']((?>[^[]|\[(?!/?' . $tag . '])|(?R))+?)\[/' . $tag . ']~ie',
"'[" . $tag . "]' . str_ireplace('[smg', '[smg', '$1') . '[/" . $tag . "]'", $message);
95
Off-topic / Re: Aeva: preg_replace(): The /e modifier is deprecated, use preg_replace_callback
« on January 24th, 2014, 07:10 PM »Will try tonight! Thanks !! ;)
96
Off-topic / Re: Aeva: preg_replace(): The /e modifier is deprecated, use preg_replace_callback
« on January 24th, 2014, 04:47 PM »
Eheh it's a choice
97
Off-topic / Re: Aeva: preg_replace(): The /e modifier is deprecated, use preg_replace_callback
« on January 24th, 2014, 04:04 PM »
I know but I asked pretty pretty please with sugar on top :P :P
Will try tonight! Thanks !! ;)
Will try tonight! Thanks !! ;)
98
Off-topic / Re: Aeva: preg_replace(): The /e modifier is deprecated, use preg_replace_callback
« on January 24th, 2014, 11:12 AM »
Mine is 2.10
99
Off-topic / Aeva: preg_replace(): The /e modifier is deprecated, use preg_replace_callback
« on January 24th, 2014, 01:31 AM »$input = preg_replace('`(#[^"<]*)`e', 'str_replace("~", "-", "$1")', $input);What should I replace this line with to avoid being flooded with errors on PHP 5.5.x ? :angel: :eheh:
100
The Pub / Re: What I LIKE in Wedge!
« on January 23rd, 2014, 05:46 PM »
Nao you know at some point it will be needed that someone looks for the directive to make pURLS work on nginx too..? :D
Its market share now is almost 18%
Its market share now is almost 18%
101
Development blog / Re: That'll do.
« on January 22nd, 2014, 01:20 AM »
Nao I'm really excited.. I was there 3 years ago.. it's strange to remember when we was discussing the name of the project, the change of domain names of the forum, the switch from SMF to wedge of this forum, the hard work of you and Pete. I'm really happy this day finally arrived !! :-) congrats (to you and Pete in particular but also to john and Shitiz )!! :)
103
Features / Re: One theme to rule them all?
« on January 6th, 2014, 07:44 PM »
Uhm I prefer the second choice to this last one..
104
Features / Re: One theme to rule them all?
« on January 5th, 2014, 06:20 PM »
I vote for the second, it's organized better.
105
Features / Re: New revs - Public comments
« on January 5th, 2014, 06:18 PM »
Yeah it's only an opcache. But APC isn't maintained anyway :P
If you want to test it I can give you access to my VPS with PHP 5.5.6 installed
If you want to test it I can give you access to my VPS with PHP 5.5.6 installed