summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorfcolin2008-07-24 12:52:23 +0000
committerfcolin2008-07-24 12:52:23 +0000
commit84628e3cb62bb1730320ebacd19a72f87a4daec3 (patch)
treef55d6f17abbdd17ae1535dd9770de52cb6b2a77f /tools
parente03b5f8c3fd76515bc0a3c59c50a0efec84b063f (diff)
downloadivy-c-84628e3cb62bb1730320ebacd19a72f87a4daec3.zip
ivy-c-84628e3cb62bb1730320ebacd19a72f87a4daec3.tar.gz
ivy-c-84628e3cb62bb1730320ebacd19a72f87a4daec3.tar.bz2
ivy-c-84628e3cb62bb1730320ebacd19a72f87a4daec3.tar.xz
capture du caret dans les regexps
Diffstat (limited to 'tools')
-rw-r--r--tools/ivythroughput.cpp2
1 files changed, 1 insertions, 1 deletions
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 &regexps, 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");