Make the regexTool thread safe.

This commit is contained in:
Matthieu Gautier
2019-08-08 12:09:52 +02:00
parent c8e719101e
commit 61c28f0e3d
2 changed files with 32 additions and 33 deletions

View File

@ -20,9 +20,6 @@
#ifndef KIWIX_REGEXTOOLS_H
#define KIWIX_REGEXTOOLS_H
#include <unicode/regex.h>
#include <unicode/ucnv.h>
#include <map>
#include <string>
bool matchRegex(const std::string& content, const std::string& regex);