[ticket/11768] Fixed regexps

PHPBB3-11768