change commands' regex to support eventual spaces at the begining