I was seeing something which looked like the regex_timer test ran forever on my system. Then I looked at the output file, which said (in Emacs):
Enter expression (or "quit" to exit): abc^M Enter string to search (or "quit" to exit): aaaaaaaaaaabcccccccc^M regex time: 5.7051us regex time (search over std::deque<char>): 9.02554us POSIX regexec time: 4.63947us Enter string to search (or "quit" to exit): quit^M regex time: 2.5351us regex time (search over std::deque<char>): 4.56523us POSIX regexec time: 2.91474us Enter string to search (or "quit" to exit): ^([0-9]+)(\-| |$)(.*)$^M regex time: 4.37793us regex time (search over std::deque<char>): 6.29326us POSIX regexec time: 3.95737us Enter string to search (or "quit" to exit): 100- this is a line of ftp response which contains a message string^M regex time: 9.04538us regex time (search over std::deque<char>): 10.7455us POSIX regexec time: 6.41666us Enter string to search (or "quit" to exit): quit^M regex time: 2.59545us regex time (search over std::deque<char>): 4.60837us POSIX regexec time: 2.90528us Enter string to search (or "quit" to exit): quit^M regex time: 2.52727us regex time (search over std::deque<char>): 4.48034us POSIX regexec time: 2.82985us Enter string to search (or "quit" to exit): regex time: 1.84228us regex time (search over std::deque<char>): 3.67966us POSIX regexec time: 2.2491us Enter string to search (or "quit" to exit): regex time: 1.88509us regex time (search over std::deque<char>): 3.73977us POSIX regexec time: 2.264us Enter string to search (or "quit" to exit): ... I realized that this is because I have a Cygwin installation that uses Unix newlines, but the input test file gets checked out by my CVS with Windows newlines. I changed the input test file to use Unix newlines unconditionally, which seems to fix it for all my compilers. This is my "heads-up" to you all. -- David Abrahams [EMAIL PROTECTED] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost