is there an immediate way to access the sub-expression that matched
instead of checking each "what" as in the following?
for (unsigned int i = 1; i < what.size(); ++i) {
if (what[i].matched) {
Not currently, sorry, might be a useful addition though...
John.