FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » regexp
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: regexp [message #173493 is a reply to message #173491] Fri, 15 April 2011 19:59 Go to previous messageGo to previous message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma:
Senior Member
On 15-04-2011 21:51, smerf wrote:
> ["regexp"]=>
> string(93)
> "^/(?Particles|admin/comments|blog)(/(?P[^/]+?)?(/(?P[^/]+?)?)?)?(/)?$"
>
> What is making "?P" above ?

no sure

but maybe this page gives answers?:
http://www.php.net/manual/en/regexp.reference.meta.php

?
extends the meaning of (, also 0 or 1 quantifier, also makes greedy
quantifiers lazy (see repetition)




--
Luuk
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Why no Text after image 1?
Next Topic: Figure out path to php.ini
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 16:21:49 GMT 2024

Total time taken to generate the page: 0.04390 seconds