M
Marcos Góis
Can sombody explain me, why the following code has two different output
values?
---
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections
Imports System.Text.RegularExpressions
Public Module MyModule
Sub Main
Dim MyInt As Integer = 234
Dim MyRegex As Regex = New Regex("234987234")
Console.WriteLine( _
MyRegex.IsMatch("[0-9]") _
)
Console.WriteLine(Regex.IsMatch("234987234", _
"[0-9]"))
Console.ReadLine()
End Sub
End Module
values?
---
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections
Imports System.Text.RegularExpressions
Public Module MyModule
Sub Main
Dim MyInt As Integer = 234
Dim MyRegex As Regex = New Regex("234987234")
Console.WriteLine( _
MyRegex.IsMatch("[0-9]") _
)
Console.WriteLine(Regex.IsMatch("234987234", _
"[0-9]"))
Console.ReadLine()
End Sub
End Module