[ticket/12866] Remove underscore in groups already containing \w

PHPBB3-12866