Ich habe folgende Regex Pattern (bin kein Regex-Pro)
der soll Strings in der Form 3(,0)(m)bar finden, wo die Chars in den Klammern optional sind.
Jetzt bei dem Ergebnis kriege ich 2 Groups, und bei allen Groups ist die Property
Z.B. String = "3bar"
(\d+,*\d*)(m?)bar
der soll Strings in der Form 3(,0)(m)bar finden, wo die Chars in den Klammern optional sind.
Jetzt bei dem Ergebnis kriege ich 2 Groups, und bei allen Groups ist die Property
Success=True
.Z.B. String = "3bar"
- Groups(1).Sucess=True .Value=3
- Groups(2).Sucess=True .Value=""
Groups.Success=False
? Life doesn't give you a datasheet. Sometimes the docs are wrong and you have to try it.