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