REG_EMPTY error
| From: | Aral Balkan | Date: | Sat, 23 Jun 2001 01:25:49 +0000 |
| Subject: | REG_EMPTY error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-54948@lists.php.net to get a copy of this message | ||
Hi all,
I'm getting the following error when I try to load complex web pages with a
version of Hans Anderson's class.browser that I've modified to translate
relative links to absolute links (as well as images, flash object / embed
links). It's going to be part of a larger templating class (I'm going to
merge it into Stefan Bocskai Quicktemplate.)
In any case, here's the error I'm getting:
Warning: REG_EMPTY:?empty (sub)expression in
c:\foxserv\www\browser.class\class.browser.php on line 388
On line 388, I'm doing an eregi_replace:
$absolute_links[] = eregi_replace($r[1], $this_url, $array[$i]);
I'd appreciate some help if anyone's run into this problem before.
Thanks, Aral :)