【发布时间】:2012-10-23 02:42:25
【问题描述】:
用户指南中有这样的内容
(:num) will match a segment containing only numbers.
所以我这样做
//using wildcard
$route['tool/reply/(\d+)'] = "tool/reply/$1";
//or using regx like this
//$route['tool/reply/(:num)'] = "tool/reply/$1";
但它不仅匹配数字,它也匹配字符串。发生了什么?我错过了什么吗?
【问题讨论】:
-
来吧,伙计们。这里真的需要一些帮助