On Tue, 2010-05-11 at 22:45 +0200, Spud. Ivan. wrote:

> 
> I think we've not so much only with the regex, but maybe you can tell me 
> somethin helpful ;)
> 
> /Word1:<\/a><\/h4>\(<a 
> href=\"http:\/\/www.thiswebsite.com\/some-script.php\">fir.*?st 
> word.*?(.*)Word2:<\/a><\/h4><ul>(.*)Second 
> word:<\/a><\/h4><ul>(.*)Word3:<\/a><\/h4><ul>(.*)rd word/is
> 
> Thanks.
> I.Lopez.
> 
> >>>>>>
> On 05/11/2010 09:56 AM, Spud. Ivan. wrote:
> > 
> > But it doesn't explain why my regexps work fine within php 5.1 but 5.3
> > 
> > Ivan.
> > 
>  
> Post a regex and what you think it should match but doesn't.
>  
> 
> -- 
> Thanks!
> -Shawn
> http://www.spidean.com
>  
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>                                         
> _________________________________________________________________
> Disfruta de Messenger y Hotmail en tu BlackBerry ¡Hazlo ya!
> http://serviciosmoviles.es.msn.com/messenger/blackberry.aspx


What are you trying to match the regex against?

Also, I've noticed you've used a lot of periods (.) where it looks like
you intended a literal period to be matched. In regular expressions,
periods match any character expect the newline, so "www.thiswebsite.com"
would also match the string "www_thiswebsite_com".


Ps, please try not to top post, as it disrupts the zen flow of the
list! :)

Thanks,
Ash
http://www.ashleysheridan.co.uk


Reply via email to