Re: Unexplained Issue Using Regex

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

 



On Fri, Mar 6, 2009 at 3:53 PM, haliphax <haliphax@xxxxxxxxx> wrote:
> On Fri, Mar 6, 2009 at 3:44 PM, Nitsan Bin-Nun <nitsan@xxxxxxxxxxxx> wrote:
>> I'm not looking for other ideas, the main thing here is that I have about
>> 30-100 regex's in the database and the script fetches them and applies them
>> to the string. I can't build again the engine and I'm not going to do that.
>> I'm trying to solve my problem ;) If you have any ideas regarding my issue
>> and not going in another way this would be very appreciated.
>
> Nitsan,
>
> I think it's because you're referencing the capture group with index
> instead of index 2. Also, I don't understand why you have the pipe
> ("|") character in your regex string... is that part of your engine?

*cough*... I meant to say "index 3 instead of index 2".

-- 
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