It didn't work with the REGEX Approach, that did strange things: Shown all other tabs, even that ones, who weren't for the user profile.
Means you didn't supply valid REGEX and caused a fatal JS error.
At any rate glad you were able to solve your issue.