17 Aug
2004
17 Aug
'04
12:32 p.m.
The regex library is extremely helpful: thanks for all your efforts.
I've got a problem with gcc and stlport and boost: when I try to get a submatch on other platforms, I can take my match object, m, and do things like
m[n].str(); // works great elsewhere
But with gcc / stlport, with BOOST_NO_STD_ALLOCATOR not defined, the const_reference type is defined as Allocator::const_reference (which is `const char'), rather than sub_match<BidiIterator>. So operator[] gives me a char, and life isn't so good.
Any hints as to where I went astray?
Works for me (with Boost-1.31.0 + latest patches), what version are you using? John.