diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-10-07 22:33:50 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-10-08 11:35:51 +0200 |
commit | 1978c49bea5b439d993067c055cec47e70db8fd6 (patch) | |
tree | 255caea96a13f95564e6b631be9a4ac55ce33cd9 /src/regmatch.cc | |
parent | 3b1278f5459514a6d6364f068ff97b8a0432057b (diff) |
minor refactoring
Diffstat (limited to 'src/regmatch.cc')
-rw-r--r-- | src/regmatch.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/regmatch.cc b/src/regmatch.cc index 6e4b261..0942ad9 100644 --- a/src/regmatch.cc +++ b/src/regmatch.cc @@ -1,9 +1,10 @@ -/** -------------------------------------------------------------------- +/** * @file regex.cc * @brief Implementation of miscellaneous regexp functions * @author Andreas Aardal Hanssen * @date 2002-2005 - * ----------------------------------------------------------------- **/ + */ + #include "regmatch.h" #include <string> @@ -13,10 +14,7 @@ #include <regex.h> #include <sys/types.h> -using namespace ::std; - -//------------------------------------------------------------------------ -int Binc::regexMatch(const string &data_in, const string &p_in) +int Binc::regexMatch(const std::string &data_in, const std::string &p_in) { regex_t r; regmatch_t rm[2]; |