From c9ece1c5bc692e54de794959b0f5c82e274370d2 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:54:32 +0000 Subject: Utilisateur : Fcolin Date : 16/01/04 Heure : 18:28 Archivé dans $/EScribe/Ivy Commentaire: (vss 18) --- CSharp/Ivy/IvyPPC/Ivy.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CSharp/Ivy/IvyPPC/Ivy.cs') diff --git a/CSharp/Ivy/IvyPPC/Ivy.cs b/CSharp/Ivy/IvyPPC/Ivy.cs index 7111157..069fd9e 100644 --- a/CSharp/Ivy/IvyPPC/Ivy.cs +++ b/CSharp/Ivy/IvyPPC/Ivy.cs @@ -594,9 +594,9 @@ namespace IvyBus if (exp.StartsWith("^") && sent_messageClasses != null) { regexp_ok = false; - for (int i = 0; i < sent_messageClasses.Length; i++) + foreach (string exp_class in sent_messageClasses) { - if (sent_messageClasses[i].Equals(exp.Substring(1))) + if ( exp.Substring(1).StartsWith(exp_class) ) return true; } } -- cgit v1.1