add `^` and `$` to the regex