RE: regex brain-toot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
Do you have to use ereg?  The preg_match pattern I posted works fine. 
It will return an array, first element being the whole string it 
matched, next element will be what it matched _inside_ the parentheses 
(less the parentheses) (if it matches anything that is).
[/snip]

Thanks John....the brain fart continued. I was echoing $regs[0] instead
of $regs[1]....too many hours, not enough caffeine or sleep. I am
getting too old....

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux