Follow Slashdot stories on Twitter

 



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

To stay youthful, stay useful.

Working...