From 84628e3cb62bb1730320ebacd19a72f87a4daec3 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 24 Jul 2008 12:52:23 +0000 Subject: capture du caret dans les regexps --- tools/ivythroughput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/ivythroughput.cpp') diff --git a/tools/ivythroughput.cpp b/tools/ivythroughput.cpp index 8100dea..d7595b7 100644 --- a/tools/ivythroughput.cpp +++ b/tools/ivythroughput.cpp @@ -392,7 +392,7 @@ bool getRegexps (const char*fileName, ListOfString ®exps, unsigned int numReg FILE *infile; char buffer [1024*64]; pcrecpp::RE pcreg1 ("add regexp \\d+ : (.*)$"); - pcrecpp::RE pcreg2 ("\\^(.*)$"); + pcrecpp::RE pcreg2 ("(\\^.*)$"); string aMsg; infile = fopen(fileName, "r"); -- cgit v1.1