Mike Frysinger <vapier@gentoo.org> writes:
> yes, but that's kind of irrelevant for the point raised here. bash's =~ uses
> ERE, and passing in REG_EXTENDED to get ERE semantics with regcomp() yields
> the same result (at least with glibc) as above.
The effect of \- in an ERE is still undefined.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."