First of all, your pattern is searching for numeric values in decimal format (that is, 123.456 for example). So none of the matches will be 0 or 1. Secondly, match.Value returns a string, and 0 or 1 is an Integer. If you're to test a match against 0 or 1, you have to do this
Code:
If match.value = "0" OrElse match.Value = "1" Then

End If
I strongly suggest you to turn Option Strict On. It helps you catch a lot of silly errors like this and it also makes your application run faster.