Well, it does *not* need to be global, *a private function* is perfectly Ok.

When I see ` @language[/[a-zA-Z_]+/]` it is not obvious what it means, but something like `RemoveSuffix(@language)` is obvious (at least for me...).