Re: Bug in POSIX.2 regex word boundary matching

2006-03-14 Thread Corinna Vinschen
On Mar 14 19:37, [EMAIL PROTECTED] wrote: > Bleah. #include statements were missing in my > previously posted sample test case. Here > is the test case again with #include statements > this time: > > $ cat regex-bug.c > > #include > #include > #include > > int main() > { > regex_tr; >

Re: Bug in POSIX.2 regex word boundary matching

2006-03-13 Thread dominique . pelle
Bleah. #include statements were missing in my previously posted sample test case. Here is the test case again with #include statements this time: $ cat regex-bug.c #include #include #include int main() { regex_tr; regmatch_t pmatch[2]; if (regcomp(&r, "\\bfoobar\\b", REG_EXTENDED)