Skip to content

Instantly share code, notes, and snippets.

@brennen
Created April 10, 2013 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brennen/5357730 to your computer and use it in GitHub Desktop.
Save brennen/5357730 to your computer and use it in GitHub Desktop.
^ # start
(
(?U) # ??? - named capture group?
.+ # one or more of anything
\.php) # a literal ".php", but why the fuck is there a paren at the end of it?
(
/? # one or no /
.+ # one or more of anything
)
$ # end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment