Example #1
0
        // Return true iff contents contain any of the keywords.
        private int ContainsAny(string contents)
        {
            var res = -1;

            res = RegexSearcher.GetIndexOfRegexPattern(contents.ToLower());
            if (res != -1)
            {
                return(res);
            }
            return(res);
        }