Beispiel #1
0
 /// <summary>
 ///   Get the Match at a given capture index
 ///   <para>
 ///     Returns detailed match information for the given capture group.
 ///   </para>
 /// </summary>
 public Match this[int index]
 {
     get
     {
         var match   = new RureMatch();
         var matched = RureFfi.rure_captures_at(Raw,
                                                new UIntPtr((uint)index),
                                                out match);
         return(new Match(_haystack, matched, (uint)match.start, (uint)match.end));
     }
 }