diff options
| author | 2020-05-19 20:35:00 +0100 | |
|---|---|---|
| committer | 2020-05-19 20:37:32 +0100 | |
| commit | a721aaf90f480675d225ed80c9b9e1c9fbe51ec0 (patch) | |
| tree | 7c523a3df722ea372bef2d3c0d30d01ceeb5c3f7 /src/modules/m_regex_stdlib.cpp | |
| parent | Replace FileSystem::GetFileList with std::filesystem. (diff) | |
| parent | Fix CallInit overriding the error from dlopen. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_regex_stdlib.cpp')
| -rw-r--r-- | src/modules/m_regex_stdlib.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_regex_stdlib.cpp b/src/modules/m_regex_stdlib.cpp index 9955549f6..fffb2a7a6 100644 --- a/src/modules/m_regex_stdlib.cpp +++ b/src/modules/m_regex_stdlib.cpp @@ -31,7 +31,8 @@ class StdRegex : public Regex public: StdRegex(const std::string& rx, std::regex::flag_type fltype) : Regex(rx) { - try{ + try + { regexcl.assign(rx, fltype | std::regex::optimize); } catch(const std::regex_error& rxerr) |
