这是原始网址
final String decoded = URLDecoder.decode(encoded, "UTF-8");
和htaccess中的规则
/toolkit/families-of-schools/start/ash-green-school-cv7-9ah
我希望得到RewriteRule ^(.*)$ /index.php/$1
RewriteRule ^/index.php/toolkit/families-of-schools/start/(.+?)$ /index.php/toolkit/families-of-schools/start?school=$1 [L]
结果,而不是
school=ash-green-school-cv7-9ah
我的正则表达式有什么问题?