regex_t a_preg;
- void freeRegex() throw();
- void compile() throw(anna::RuntimeException);
+ void freeRegex() ;
+ void compile() noexcept(false);
public:
*
* @param pattern Pattern
*/
- void setPattern(const std::string & pattern) throw();
+ void setPattern(const std::string & pattern) ;
// get
*
* @return Pattern
*/
- const std::string & getPattern(void) const throw() { return a_pattern; }
+ const std::string & getPattern(void) const { return a_pattern; }
// helpers
*
* @return Boolean about if value provided match regular expression
*/
- bool isLike(const std::string & value) throw();
+ bool isLike(const std::string & value) ;
/**
* Same as #isLike
*/
- bool match(const std::string & value) throw() { return isLike(value); }
+ bool match(const std::string & value) { return isLike(value); }
/**
* Operator ==