Skip to content
Snippets Groups Projects
Commit 90b53e52 authored by Fabian Paus's avatar Fabian Paus
Browse files

Regex: switch to boost...

parent 80f8e665
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
#include "RobotHealth.h"
#include <regex>
#include <boost/regex.h>
using namespace armarx;
......@@ -98,9 +98,9 @@ void RobotHealth::monitorHealthTaskClb()
std::string name;
std::smatch m;
std::regex regex("^[a-zA-Z]+");
if (std::regex_search(e.name, m, regex))
boost::smatch m;
boost::regex regex("^[a-zA-Z]+");
if (boost::regex_search(e.name, m, regex))
{
if (m.empty())
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment