> I meant that when `:' fails, it returns `0' instead of `', so it is my
> understanding of `expr' that using \| '' at the end is enough.  This
> fix is probably all we need to fix the affected expr uses.
> 
> Still, David, could you confirm that \(\) properly matches the empty
> string: running
> 
> expr 'a' : 'a\(\)'
> 
> should definitely output nothing (and most probably exit 1 :)

Yep as expected on QNX 4.2.5

expr 'a' : 'a\(\)'
> 
outputs nothing and exits 1

Regards
 David

Reply via email to