RewriteRule:允许使用哪个正则表达式量词?

时间:2011-07-08 09:04:20

标签: regex mod-rewrite quantifiers

我想知道我是否可以使用量词{x}来定义RewriteRule。

RewriteRule ^([0-9]{3})([0-9]{2})-page/?$ /www/page.php?firstId=$1&secondId=$2

我能写这样的东西吗?

感谢您的回答

1 个答案:

答案 0 :(得分:1)

是的,你可以......

不起作用吗?