|
|
|
@ -37,6 +37,9 @@ struct Regex |
|
|
|
/// @return compilation error (if there was any)
|
|
|
|
/// @return compilation error (if there was any)
|
|
|
|
const std::string &error() const; |
|
|
|
const std::string &error() const; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// @return true if regular expression is compiled, false otherwise
|
|
|
|
|
|
|
|
bool compiled() const; |
|
|
|
|
|
|
|
|
|
|
|
/// compiles regular expression
|
|
|
|
/// compiles regular expression
|
|
|
|
/// @result true if compilation was successful, false otherwise
|
|
|
|
/// @result true if compilation was successful, false otherwise
|
|
|
|
bool compile(); |
|
|
|
bool compile(); |
|
|
|
|