> > Funny enough, the problem does not occur with the GNU grep > > 2.2 on my system, which may mean that GNU grep is using a > > different POSIX regexp implementation. > > Fascinating. grep 2.3 is also buggy, but different than glibc (it > matches 0 lines from my test file). grep 2.4 seems to be ok. Is this bug still alive in 2.3.1-6? From your test program, I don't see this bug. Regards, -- gotom