示例#1
0
        public RefMatchEnumerable Matches(ReadOnlySpan <char> subject, int startIndex, PcreRefCalloutFunc onCallout)
        {
            if (subject == null)
            {
                throw new ArgumentNullException(nameof(subject));
            }

            return(Matches(subject, PcreMatchSettings.GetSettings(startIndex, PcreMatchOptions.None, onCallout)));
        }
示例#2
0
        public IEnumerable <PcreMatch> Matches(string subject, int startIndex, Func <PcreCallout, PcreCalloutResult> onCallout)
        {
            if (subject == null)
            {
                throw new ArgumentNullException(nameof(subject));
            }

            return(Matches(subject, PcreMatchSettings.GetSettings(startIndex, PcreMatchOptions.None, onCallout)));
        }
示例#3
0
 public PcreRefMatch Match(ReadOnlySpan <char> subject, int startIndex, PcreMatchOptions options, PcreRefCalloutFunc onCallout)
 => Match(subject, PcreMatchSettings.GetSettings(startIndex, options, onCallout));
示例#4
0
 public PcreMatch Match(string subject, int startIndex, PcreMatchOptions options, Func <PcreCallout, PcreCalloutResult> onCallout)
 => Match(subject, PcreMatchSettings.GetSettings(startIndex, options, onCallout));