From 1978c49bea5b439d993067c055cec47e70db8fd6 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sat, 7 Oct 2023 22:33:50 +0200 Subject: minor refactoring --- src/regmatch.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/regmatch.cc') 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 @@ -13,10 +14,7 @@ #include #include -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]; -- cgit v1.2.3