SAE用,应该是标准正则^[A-Za-z0-9]+/(.*)$ 匹配到 index.php?site=$1&q=$2&%{QUERY_STRING}用这个匹配asd/the/a.txt,$1被匹配到了the/a.txt……有办法把斜杠前的东西提取出来么?
共有 1 条评论,登录后可见