diff --git a/Framework/Types/src/Core/DateAndTimeHelpers.cpp b/Framework/Types/src/Core/DateAndTimeHelpers.cpp index 2daf0020b3fedab4a436858ca4ed48fa08668d29..c7ac9ed51cef6c858550bb5453337095df01c88e 100644 --- a/Framework/Types/src/Core/DateAndTimeHelpers.cpp +++ b/Framework/Types/src/Core/DateAndTimeHelpers.cpp @@ -13,7 +13,8 @@ namespace DateAndTimeHelpers { */ bool stringIsISO8601(const std::string &date) { // On Ubuntu 14.04, std::regex seems to be broken, thus boost. - const boost::regex r(R"(^\d{4}-[01]\d-[0-3]\d([T\s][0-2]\d:[0-5]\d(:\d{2})?(.\d+)?(Z|[+-]\d{2}(:\d{2})?)?)?$)"); + const boost::regex r( + R"(^\d{4}-[01]\d-[0-3]\d([T\s][0-2]\d:[0-5]\d(:\d{2})?(.\d+)?(Z|[+-]\d{2}(:\d{2})?)?)?$)"); return boost::regex_match(date, r); } } // namespace DateAndTimeHelpers