コード例 #1
0
 private string GetStringFromGroup(Group matchGroup, VBRegexFindResults results)
 {
     if (matchGroup.Success)
     {
         StringBuilder result = new StringBuilder();
         foreach (Capture capture in matchGroup.Captures)
         {
             string value = capture.Value;
             result.Append(results.EditToDisplayString(value.Substring(1, value.Length - 2)));
         }
         return(result.ToString());
     }
     return(null);
 }