By popular demand, add an -E flag to expr(1) to interpret
regular expressions as EREs. This allows for some cleaner expressions
given the branching feature using convention established by sed(1)/grep(1).
It should be mentioned that use of -E is not POSIX compliant, and probably not portable
to other implementations. Most notably, GNU expr(1) does not implement an -E flag. The
man page has been updated to reflect this information.
As an aside, this seems to be generally an OK change to make. posix.1-2008 explicitly
permits implementations to extend utilities.