Re: preg_match fails to resolve variable as a subject

From: Date: Fri, 26 Nov 2010 14:57:57 +0000
Subject: Re: preg_match fails to resolve variable as a subject
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-309685@lists.php.net to get a copy of this message
On 26 November 2010 00:07, Da Rock <php-list@herveybayaustralia.com.au> wrote: > preg_match("/(\d{1,3})(\.)$/", exec($mixer . ' ' . $command), > &$matches) Can you ... var_dump(exec($mixer . ' ' . $command)); I wonder if the output includes a new line which you are not accounting for in the regex. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

« previous php.general (#309685) next »