Re: Getting Results from function; snickers != buttery !
| From: | Ignacio Vazquez-Abrams | Date: | Thu, 16 Nov 2000 06:26:49 +0000 |
| Subject: | Re: Getting Results from function; snickers != buttery ! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25630@lists.php.net to get a copy of this message | ||
On Wed, 15 Nov 2000, Kevin Leavell wrote:
> I am not sure exactly what you mean here: What is "[^>]*" supposed to
> replace?
>
> > >
> > > $value=ereg_replace('.*value="([^"]+)">','\\1',$string);
> > ^^
> >
> > Whoops. Try "[^>]*" instead.
> >
> > --
> > Ignacio Vazquez-Abrams <ignacio@openservices.net>
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
Oh, you're using Outlook. If you use a monospaced font you'll see
clearly. But it's the ".*" right at the beginning of the RE.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>