Forgot your password?
typodupeerror

Comment CAPTURES (Score 0) 516

If RegXPChecker("^" & cmdPrefix & "rejoin (?<item>.+)", Message) Then
                re = New Regex("^" & cmdPrefix & "rejoin (?<item>.+)")
                mt = re.Match(Message)
                item = mt.Groups("item").ToString
                SendInfo("PART :" & item, SendBytes, tnSocket)
                SendInfo("JOIN :" & item, SendBytes, tnSocket)
                Return True
            End If

Simple vb.net regex capture. same logic can be applied to other captures.

Slashdot Top Deals

Mr. Cole's Axiom: The sum of the intelligence on the planet is a constant; the population is growing.

Working...