Bug in POSIX.2 regex word boundary matching

2006-03-13 Thread dominique . pelle
Hi, Word boundary regular expression matching (\b \< \>) does not work with POSIX.2 regex functions in cygwin (#include ). It works fine using Linux. Here is a simple test case to easily reproduce the problem: $ cat regex-bug.c int main() { regex_tr; regmatch_t pmatch[2]; if (regcomp(

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)