diff --git a/SC2003.md b/SC2003.md index cc335cf..47a41c6 100644 --- a/SC2003.md +++ b/SC2003.md @@ -22,7 +22,7 @@ l=${#var} ### Exceptions -`sh` doesn't have a great replacement for the `:` operator (regex match). ShellCheck tries not to warn when using expr with `:`, but e.g. `op=:; expr string "$op" regex` still trigger it. +`sh` doesn't have a great replacement for the `:` operator (regex match). ShellCheck tries not to warn when using expr with `:`, but e.g. `op=:; expr string "$op" regex` will still trigger it. Other than that, all uses of `expr` can be rewritten to use modern shell features instead.