From 4eb521c5dfe81165321c35550fabe1a19b0fad35 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:42:33 +0000 Subject: Utilisateur : Fcolin Date : 16/01/04 Heure : 18:28 Archivé dans $/EScribe/Ivy Commentaire: (vss 18) --- CSharp/Ivy/Ivy/Ivy.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CSharp') diff --git a/CSharp/Ivy/Ivy/Ivy.cs b/CSharp/Ivy/Ivy/Ivy.cs index 7111157..069fd9e 100644 --- a/CSharp/Ivy/Ivy/Ivy.cs +++ b/CSharp/Ivy/Ivy/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