At 4/26/2001 05:33 AM, ..s.c.o.t.t.. [gts] wrote:
>i tried to do it myself and nearly fell off
>my chair becuase PHP makes you jump through
>hoops to do such a simple thing
>
>print preg_replace('/<%([a-zA-Z]*)%>/e', "\$mioArray['$1']", $testo);
>
>i never could understand why other languages
You've been my salvation!! thanks! :)
> print preg_replace('/<%([a-zA-Z]*)%>/e', "\$mioArray['$1']", $testo);
>
> i never could understand why other languages
> made regular expressions so convoluted.
> why not just support the =~ binding operator
> instead of that awful function syntax...?
>
i tried to do it myself and nearly fell off
my chair becuase PHP makes you jump through
hoops to do such a simple thing
print preg_replace('/<%([a-zA-Z]*)%>/e', "\$mioArray['$1']", $testo);
i never could understand why other languages
made regular expressions so convoluted.
why not just sup
3 matches
Mail list logo