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))); }
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))); }
public PcreRefMatch Match(ReadOnlySpan <char> subject, int startIndex, PcreMatchOptions options, PcreRefCalloutFunc onCallout) => Match(subject, PcreMatchSettings.GetSettings(startIndex, options, onCallout));
public PcreMatch Match(string subject, int startIndex, PcreMatchOptions options, Func <PcreCallout, PcreCalloutResult> onCallout) => Match(subject, PcreMatchSettings.GetSettings(startIndex, options, onCallout));