NYCPHP Meetup

NYPHP.org

[nycphp-talk] preg_match (related to Many pages one script discussion)

Jon Baer jonbaer at jonbaer.com
Mon Aug 6 21:55:08 EDT 2007


Would be something like:

@/news/([0-9]+)?/([0-9]+)?/([0-9]+)?@

But I think it should either be a completely valid date or now by  
default.

Also isn't there a mode to preg_match or a version in which you can  
get named parameters?

- Jon

On Aug 6, 2007, at 9:46 PM, Michael B Allen wrote:

>   '@/news/([0-9]+)/([0-9]+)/([0-9]+)@'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070806/6238a79e/attachment.html>


More information about the talk mailing list