True, infact the # isn't even required on second thought, since /join lobby has the same effect of joining #lobby.
/^[`.!@]((join|part) \w*)$/Si
Although i can't remember the character code for alphanumeric-characters. I think \w is not whitespace but i'm not too sure