You are here: Re: php regular expression doesn't match « PHP Programming Language « IT news, forums, messages
Re: php regular expression doesn't match

Posted by Erwin Moller on 10/25/07 08:55

Steve wrote:

<snip>

>>
>> Bullshit? More pots of coffee?
>>
>> If you want to appear smart, you better first read the other response I
>> wrote in this same thread many hours ago.
>> It contained a better solution. One that actually works and solves the OP
>> problem.
>
> oh, you mean this:
>
> /a[^b]*b/

Yes.

>
> still missing a ? after the * ... unless you want mixed results.

I have no clue what you are talking about.
What 'mixed results'?

I don't pretend to be a regex expert, so could you give me an example
please where the results differ?

So where gives
/a[^b]*b/
gives a different result than
/a[^b]*?/



>
> /a[^b]*?b/
>
> is appropriate. it may have worked with the test string, but not hardly a
> catch-all in the real world. since the op was confused about *?, your
> snippet pattern doesn't server to clear any of that up.
>
>
>> I fixed my own nonsense with a good solution that works in the other
>> response.
>> Will you do the same and fix the insulting crap you wrote about me in
>> here?
>
> no...but i did justify my comment further. ;^)
>

And you are definitely in a better mood than yesterday.
I saw you piss on more people yesterday in here....

Regards,
Erwin

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация