.htaccess: How does a redirect of a parent element work?

If you want to forward the parent element but not the child element, the following .htaccess entry is required:

Redirect 301 /products/?$ http://www.domain.com/404/