Bug in Glibc Regex

Ulrich Drepper drepper@redhat.com
Wed Sep 13 14:09:00 GMT 2000


Andreas Pour <pour@mieterra.com> writes:

> Really?  I don't get that.  Are you sure you used the second attachment
> I sent (the first one was the one that does work with 2.1.3 -- the one
> that doesn't has the line:
> 
>   const char *text = "{test}";

??? This cannot work.  Why should it?  { and } are special characters
and have to be escaped.  The behavior for above expression is
undefined.  Glibc is correct, your code not.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list