Re: [PHP] Re: regexp: 'a correctly parenthesized substring advanced'

2003-09-30 Thread Jaaboo
enough for me ... "Marek Kilimajer" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Forget regexp and try this function: > http://sk.php.net/manual/en/function.token-get-all.php > > Jaaboo wrote: > > > I give an wrong example. Here is a better one

[PHP] Re: regexp: 'a correctly parenthesized substring advanced'

2003-09-30 Thread Jaaboo
I give an wrong example. Here is a better one .*?)| .*?(?R)* ) \) )+ /x ', $txt, $m)){ print_r($m); } else { echo "no match"; } echo "\n"; ?> This must result in : First call: func1($par1," 100 (euro)", func2($par2,"(c) by nobody")) Second call with the inner part $par1," 100 (euro

[PHP] regexp: 'a correctly parenthesized substring advanced'

2003-09-29 Thread Jaaboo
Hi , this is my regex for php to extract php-function-calls from source. It now works for strings like: func1($param,"abc") func1($param1,func2($param2,"abc")) but if i try to catch func1($param1,"(c) by ARTADA for example")ยด, func2($param2,"786")) it fails because of the paranthesis between th

[PHP] Re: PHP 5.0.0 Beta 1? better called alpha zero

2003-07-02 Thread Jaaboo
PHP5 Beta1? yesterday i have downloaded the bin version of php5 for windows. here are some problems that i have during my install / test. some of them i have solved but a few i can't figure out. 1. if you have installed apache1.3x and php4 before and want upgrade to apache 1.3.x and php5 then yo