command: refactor command regex