Where regular expression is read from a variable and -e argument is not provided, the resulting call may end up being interpreted as grep argument. See also: https://github.com/koalaman/shellcheck/issues/1342