From 03f69b1c55a75ecf83a81ec4a342b924c95b68e5 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:00:07 +0000 Subject: Utilisateur : Fcolin Date : 8/03/05 Heure : 15:20 Archivé dans $/Bus/Ivy Commentaire: Bug en cas d'expression vide de subexpression (vss 20) --- Ivy/IvyApplication.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ivy/IvyApplication.cxx') diff --git a/Ivy/IvyApplication.cxx b/Ivy/IvyApplication.cxx index faafaf4..23abfbf 100644 --- a/Ivy/IvyApplication.cxx +++ b/Ivy/IvyApplication.cxx @@ -342,7 +342,7 @@ int IvyApplication::SendMsg(const char *message) exp = regexp_in[i]; #ifdef USE_PCRE int match_count = pcre_exec( exp, NULL, message, strlen( message ), 0, 0, ovector, max_subexp ); - if ( match_count > 1 ) + if ( match_count > 0 ) { string buffer; const char *substring; -- cgit v1.1