You can’t put the schema, domain and query string in the RewriteRule, plus . should be escaped as \. because dots have a special meaning in regular expressions. It should be
(you could leave the [noparse]http://www.domain.com[/noparse] in the RewriteRule for the destination, but if the domain doesn’t change I’d recommend against this. It’s not needed and easier to change domain names later if you ever need to).