Beispiel #1
0
        /// <summary>
        ///   Matches - Retrieve information abut which patterns in the set match.
        /// </summary>
        public SetMatch Matches(byte[] haystack)
        {
            var results = new bool[_arity];
            var overall = RureFfi.rure_set_matches(Raw,
                                                   haystack,
                                                   new UIntPtr((uint)haystack.Length),
                                                   UIntPtr.Zero,
                                                   results);

            return(new SetMatch(overall, results));
        }