///
/// @param exp Regular expression to compile.
/// @param cflags Bitwise OR of options to apply when compiling the regular expression:
///
/// @param exp Regular expression to compile.
/// @param cflags Bitwise OR of options to apply when compiling the regular expression:
/// Do not treat the newline character as the start or end of a line.
regexp(const std::string &exp, int cflags = 0) {
int err = regcomp(&comp, exp.c_str(), cflags);
/// Do not treat the newline character as the start or end of a line.
regexp(const std::string &exp, int cflags = 0) {
int err = regcomp(&comp, exp.c_str(), cflags);
///
/// @param in String to test.
/// @param eflags Bitwise OR of options to apply when matching the string:
///
/// @param in String to test.
/// @param eflags Bitwise OR of options to apply when matching the string:
/// Do not treat the end of the string as the end of a line.
/// @return True if the string matches the regular expression, false otherwise.
bool match(const std::string &in, int eflags = 0) {
/// Do not treat the end of the string as the end of a line.
/// @return True if the string matches the regular expression, false otherwise.
bool match(const std::string &in, int eflags = 0) {