changes to comply with coding standards
changed regex quantifier from * to + to make sure at least on character is used