From 44ec692fc5f56ee5cf4dbf9a5fcdfac7c0699046 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Fri, 17 Oct 2014 22:05:42 +0200 Subject: [PATCH] [DEBUG] remove text error of regex --- test/main.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/main.cpp b/test/main.cpp index 7dc7a0c..ec299a0 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -179,15 +179,6 @@ void testColor() { TK_INFO("==> test of Color (STOP)"); } -void testRegExpSingle(const std::string& _expression, const std::string& _search) { - etk::RegExp expression(_expression); - TK_INFO("Parse RegEx: " << expression.getRegExDecorated()); - TK_INFO(" IN: " << etk::regexp::autoStr(_search)); - if (expression.parse(_search, 0, _search.size()) == true) { - TK_INFO(" match [" << expression.start() << ".." << expression.stop() << "] "); - TK_INFO(" ==> '" << etk::regexp::autoStr(std::string(_search, expression.start(), expression.stop() - expression.start())) << "'"); - } -} int main(int argc, const char *argv[]) { // the only one init for etk: