This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Ulrich Drepper <drepper@redhat.com> writes: > Andreas Schwab wrote: >> Posixly the >> behaviour of "(*)" is undefined, which is probably why it's not in >> rxspencer. But it looks like it's part of traditional egrep >> behaviour, > > Where do you have this "traditional egrep behavior" information from? It's part of the orignal GNU grep testsuite. I didn't claim it's first hand information. > Solaris' egrep fails with errors for "(*)b" and "()b". Which is ok, since POSIX makes it undefined. Which errors, btw? > Which implementation behaves the way you expect it? The old GNU regexp implementation. The current behaviour is violates the specs for RE_CONTEXT_INDEP_OPS, and the error message does not make any sense. This is independent of the actual GNU/BSD/Solaris etc. egrep behaviour. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, MaxfeldstraÃe 5, 90409 NÃrnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |