Changeset 2153 for trunk/system/libraries/Router.php
- Timestamp:
- 02/23/2008 01:00:29 AM (11 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Router.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Router.php
r1977 r2153 75 75 if ($key == '_default') continue; 76 76 77 // Replace helper strings78 $key = str_replace79 (80 array(':any', ':num'),81 array('.+', '[0-9]+'),82 $key83 );84 85 77 // Does this route match the current URI? 86 78 if (preg_match('#^'.$key.'$#u', self::$segments))
