Re: REG_EBRACK?
| From: | Michael Dearman | Date: | Fri, 15 Dec 2000 14:45:19 +0000 |
| Subject: | Re: REG_EBRACK? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30502@lists.php.net to get a copy of this message | ||
Jason Murray wrote:
>
> Hi folks,
>
> Could anyone tell me why this causes problems? ==>
>
> <?
> $extension = ereg_replace("^fWfffpf"f"ft[.", "",
> "fWfffpf"f"ft[.net");
A start might would be to escape these ^ ^ ^ ^ ^ ^
qoutes. And probably the [ as well ^ ^
| And what's this? |
Mike D.