Welcome to WebmasterWorld Guest from 18.104.22.168
By default, special characters, such as & and ?, for example, will be converted to their hexcode equivalent. Using the NE flag prevents that from happening.
RewriteRule ^pattern substitution?foo=1&bar=2 [R=301,L]
RewriteRule ^/anchor/(.+) /bigpage.html#$1 [NE,R]
Without [NE], all question marks after the first one (the query-string delimiter) turn into %3f