NYCPHP Meetup

NYPHP.org

[nycphp-talk] A good PCRE expression for matching URLs

Michael B Allen ioplex at gmail.com
Thu Jul 24 16:40:28 EDT 2008


On Thu, Jul 24, 2008 at 4:32 PM, Michael B Allen <ioplex at gmail.com> wrote:
>  Please visit http://www.yahoo.com/usèrs+100%&lusers$/~jerry/y_a-n.g/Yahoo;=^(!)foo.

Well gmail is picking out and linking the above link up to but not
including '^'. I wonder if it will link the remaining characters ...

  http://www.yahoo.com/usèrs+100%&lusers$/~jerry/y_a-n.g/Yahoo;=(!)foo
  http://www.yahoo.com/usèrs+100%&lusers$/~jerry/y_a-n.g/Yahoo;=!)foo(
  http://www.yahoo.com/usèrs+100%&lusers$/~jerry/y_a-n.g/Yahoo;=)foo(!
  http://www.yahoo.com/usèrs+100%&lusers$/~jerry/y_a-n.g/Yahoo;=foo(!)
  http://www.yahoo.com/usèrs+100%&lusers$/~jerry/y_a-n.g/Yahoo;^(!)foo
  http://www.yahoo.com/usèrs+100%&lusers$/~jerry/y_a-n.g/Yahoo;(!)foo^
  http://www.yahoo.com/usèrs+100%&lusers$/~jerry/y_a-n.g/Yahoo;!)foo^(

Mike

-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/



More information about the talk mailing list