【发布时间】:2010-05-31 22:31:38
【问题描述】:
我目前正在尝试在这两件事之间插入单词/文本
:和!
我试过了
Dim nick As String = String.Empty
Dim p = ":(?<ircnick>.*?)!"
Dim Matches = Regex.Matches(mail, p, RegexOptions.IgnoreCase Or RegexOptions.Singleline)
If Matches IsNot Nothing AndAlso Matches.Count > 0 Then
For Each Match As Match In Matches
If Match.Groups("info").Success Then
nick = (Match.Groups("ircnick").Value)
End If
Next
End If
它不显示任何东西。如果你们可以为我修复此代码,我会很高兴:D。
【问题讨论】:
-
仍在寻求帮助。
标签: .net vb.net regex client irc