why not use a regex?