public ktRE_Match(System.Text.RegularExpressions.Match Match) : this() { m_Index = Match.Index; m_Length = Match.Length; m_Value = new ktString(Match.Value); m_Captures = new ktRE_CaptureCollection(Match.Captures); m_Success = Match.Success; m_Groups = new ktRE_GroupCollection(Match.Groups); if ((Match.NextMatch() != null) && (Match.NextMatch().Success)) { m_NextMatch = new ktRE_Match(Match.NextMatch()); } else { m_NextMatch = Empty; m_Matches = null; } }
public ktRE_GroupCollection(ktRE_GroupCollection GC) : this() { m_List = new ktList(); foreach (ktRE_Group G in GC) { m_List.Add(G); } }