[Console] improve regex performance to validate name
[Console] improve regex performance to validate name

using possesive quantifier

Danack/Console,kwn/Console,oswaldderiemaecker/Console,Danack/Console,symfony/Console