I hope someone can give me a hand with these rewrites. I've got them working on 5 different servers but unfortunately the really important one spits the dummy on the first rule. I have 24 hours before I'm supposed to be going on holidays and regexp right now is *hurting*. Can anyone tell me where I've made the mistake?
RewriteRule ^([a-zA-Z0-9-&_]+)(/)?(.html)?(\?[a-zA-Z0-9-&_]+)?$ index.php?view=$1&$2
RewriteRule ^([a-zA-Z0-9-&_]+)/([a-zA-Z0-9-&_]+)(/)?(.html)?(\?[a-zA-Z0-9-&_]+)?$ index.php?view=$2&p2=$1&$3
RewriteRule ^([a-zA-Z0-9-&_]+)/([a-zA-Z0-9-&_]+)/([a-zA-Z0-9-&_]+)(.html)?(\?[a-zA-Z0-9-&_]+)?$ index.php?view=$3&p2=$2&p3=$1&$4
RewriteRule ^([a-zA-Z0-9-&_]+)/([a-zA-Z0-9-&_]+)/([a-zA-Z0-9-&_]+)/([a-zA-Z0-9-&_]+)(.html)?(\?[a-zA-Z0-9-&_]+)?$ index.php?view=$4&p2=$3&p3=$2&p4=$1&$5