projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic exceptions
[anna.git]
/
include
/
anna
/
core
/
util
/
RegularExpression.hpp
diff --git
a/include/anna/core/util/RegularExpression.hpp
b/include/anna/core/util/RegularExpression.hpp
index
ed0f170
..
276c624
100644
(file)
--- a/
include/anna/core/util/RegularExpression.hpp
+++ b/
include/anna/core/util/RegularExpression.hpp
@@
-32,8
+32,8
@@
class RegularExpression {
regex_t a_preg;
regex_t a_preg;
- void freeRegex()
throw()
;
- void compile()
throw(anna::RuntimeException
);
+ void freeRegex() ;
+ void compile()
noexcept(false
);
public:
public:
@@
-48,7
+48,7
@@
public:
*
* @param pattern Pattern
*/
*
* @param pattern Pattern
*/
- void setPattern(const std::string & pattern)
throw()
;
+ void setPattern(const std::string & pattern) ;
// get
// get
@@
-58,7
+58,7
@@
public:
*
* @return Pattern
*/
*
* @return Pattern
*/
- const std::string & getPattern(void) const
throw()
{ return a_pattern; }
+ const std::string & getPattern(void) const { return a_pattern; }
// helpers
// helpers
@@
-67,12
+67,12
@@
public:
*
* @return Boolean about if value provided match regular expression
*/
*
* @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
*/
/**
* Same as #isLike
*/
- bool match(const std::string & value)
throw()
{ return isLike(value); }
+ bool match(const std::string & value) { return isLike(value); }
/**
* Operator ==
/**
* Operator ==