Say I have a sregex
object like this one:
boost::xpressive::sregex::compile("(?P<firstword>\\w+) (?<secondword>\\w+)!");
I have not been able to find any reference in the xpressive documentation regarding this, despite xpressive supporting named groups just fine.
I know that it is possible to iterate through groups is just fine, but how would I access the groupname (if the group has a name at all)?
So, How would I iterate through the named groups?