Try to revalidate mentions with a regexp instead of looking just for spaces

Signed-off-by: emanuele <emanuele45@gmail.com>