Bonjour,


quelqu'un peut-il m'expliquer pourquoi ce code renvoi "Vrai" dans les deux cas. Comprends pas ...


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
Set RegularExpressionObject = New RegExp
 
With RegularExpressionObject
 .Pattern = "[^30-80$]"
 .IgnoreCase = False
End With
 
MsgBox RegularExpressionObject.Test("<td><img src=""images/editor/separator.gif"" width=""6"" height=""20"" alt="""" />60</td>")
MsgBox RegularExpressionObject.Test("<td><img src=""images/editor/separator.gif"" width=""6"" height=""20"" alt="""" />20</td>")