Let's assume that two regexp-strings are given:
boost::regex r1 = "[AB]";
boost::regex r2 = "[ABCDEF]";
Is there a simple way to determine with boost::regex whether r1 is subset of r2?
In the example above r1 is subset of r2.
boost::regex_match works with a string and a regex parameter. But something which work with two regular expressions would be nice.
This question is relates only to c++ and the boost::regex library.