On Fri, Jul 8, 2011 at 6:09 PM, Richard Quadling <rquadl...@gmail.com> wrote:
> On 8 July 2011 16:31, Mike Robinson <m...@rile.ca> wrote:
>> On July-08-11 10:01 AM Rafael Dohms wrote:
>>
>> [snip]
>>
>>> first time using preg_match is a nightmare.
>>
>> IMHO, preg_match is poetry in motion.
>>
>> Going through a million lines of code replacing ereg[i] with preg_match
>> because it was deprecated in 5.3 - *that* is a nightmare.
>>
>> Best Regards
>>
>> Mike Robinson
>>
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
> Could've used preg_replace_all() ? Maybe? You _are_ a programmer, right?
>

that heading into the wrong direction.

to reply to the original thread: I also had some use cases, when
returning the match(es) would have been nice, and could have saved me
from typing some boilerplate code.

Tyrael

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to