This pattern doesn't match the url in question.
It may be better to capture both:
account/profile/([^/]+)/([^/]+)$ account/profile.php?user=$1&tab=$2 [L]
Something doesn't smell right with that and I can't put my finger on it. I can't test it here either so you'll have to give it a shot.