$expr 'a0b' : 'a\(.\)b' \| '1

The previous sample returns '1'. I assume this is because the matching pattern is '0' and it is evaluate as false.

I am just wandering if this is expected behaviour ?

best regards,
benjamin gerard

_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to