lucy24 - 5:05 am on Jan 10, 2012 (gmt 0)
It means you need to do some background reading [httpd.apache.org]. Really.
What happens when you say
RewriteRule ^connect/(connect/.*) http://www.example.com/$1 [L,R=301]
? "Not functioning as it should" implies that it is functioning in some other way. Which is always interesting.
Notice how by capturing the second "connect" I have sneakily saved typing eight characters in the target. It is not necessary to do it this way.