expr was printing `expr: warning: '^.*[<>"]': using '^' as the first character of a basic regular expression is not portable;`