From 14bb999781d8cf9ee60bbada88eb29d82be3e229 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) --- Bus/Ivy/IvyApplication.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bus/Ivy/IvyApplication.cxx') diff --git a/Bus/Ivy/IvyApplication.cxx b/Bus/Ivy/IvyApplication.cxx index faafaf4..23abfbf 100644 --- a/Bus/Ivy/IvyApplication.cxx +++ b/Bus/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