Skip to content
Snippets Groups Projects
Commit 30c96b0e authored by Derek Spranger's avatar Derek Spranger
Browse files

Merge branch 'master' into '0.2'

fixed regex for tag matching

See merge request laodc/router!14
parents e111081f a8c3f8b7
No related branches found
Tags 0.2.10
1 merge request!14fixed regex for tag matching
......@@ -101,7 +101,7 @@
* :test45 (valid)
* :k%7asd (valid)
*/
if( true == preg_match_all( '/\?P<(\w+)>|:([\b][\w\-%]+)/', $routes->getBasePath() . $routes->getUrl(), $matched_keys, PREG_SET_ORDER, 0 ) )
if( true == preg_match_all( '/\?P<(\w+)>|:(\b[\w\-%]+)/', $routes->getBasePath() . $routes->getUrl(), $matched_keys ) )
{
/**
* build up the argument_keys by checking to see which pairing contains data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment