
13 Dec
2001
13 Dec
'01
9:39 a.m.
Hi all,
I'm trying to match strings of the form "a&b&c&d" with the following
expression: "(?:([^&]+)&)*([^&]+)". This nicely matches the whole
string but instead of giving me the submatches "a", "b", "c" and "d"
I just get "c" and "d". Could anyone tell me what I'm doing wrong?
Sample code, tested with MSVC6SP5 and Boost 1.26.0:
#include