G
Guest
Hi,
I have the following:
Dim mystring As String = "1.2 3 456 7........." That is 14818 long
Dim theReg As New Regex("( \d|-|\.|\s\d|\s-)+")
Dim theMatch As Match = theReg.Match(mystring)
If theMatch.Length = mystring.Length Then ...........
The problem is that theMatch.Length = 14766 and my string is 14818
Why is that? Is there any limitation on the Length of the Match?
Thanks in advance,
Emilia.
I have the following:
Dim mystring As String = "1.2 3 456 7........." That is 14818 long
Dim theReg As New Regex("( \d|-|\.|\s\d|\s-)+")
Dim theMatch As Match = theReg.Match(mystring)
If theMatch.Length = mystring.Length Then ...........
The problem is that theMatch.Length = 14766 and my string is 14818
Why is that? Is there any limitation on the Length of the Match?
Thanks in advance,
Emilia.