Lines Matching full:captures

35         $(LREF Captures)
68 assert(c2[1] == "bar"); // Captures is a range of submatches: 0 = full match.
321 Getting a range of all the named captures in the regex.
460 $(D Captures) object contains submatches captured during a call in foreach()
465 @trusted public struct Captures(R, DIndex = size_t) in foreach() struct
517 "Failed to allocate Captures struct" in foreach() argument
666 @property ref captures(){ return this; } in foreach() function
694 Effectively it's a forward range of Captures!R, produced in foreach()
709 Captures!(R,EngineType.DataIndex) _captures; in foreach()
723 _captures = Captures!(R,EngineType.DataIndex)(this); in foreach()
816 @property auto captures() inout { return _captures; } in foreach() function
830 auto captures = Captures!(R, EngineType.DataIndex)(input, re.ngroup, re.dict); in matchOnce() local
834 captures._nMatch = engine.match(captures.matches); in matchOnce()
835 return captures; in matchOnce()
854 __traits(compiles, (Captures!R c) { fun(c); });
858 (ref Sink sink, R input, T captures)
861 if (captures.empty)
866 sink.put(captures.pre);
867 // a hack to get around bogus errors, should be simply output(captures, sink)
870 sink.put(output(captures)); //"mutator" type of function
872 output(captures, sink); //"output" type of function
873 sink.put(captures.post);
876 // ditto for a range of captures
977 $(LREF Captures) containing the extent of a match together with all submatches
978 if there was a match, otherwise an empty $(LREF Captures) object.
1143 // produces replacement string from format using captures for substitution
1145 (R format, Capt captures, OutR sink, bool ignoreBadSubs = false)
1178 … enforce(ignoreBadSubs || digit < captures.length, text("invalid submatch number ", digit));
1179 if (digit < captures.length)
1180 sink.put(captures[digit]);
1189 sink.put(captures[name]);
1193 sink.put(captures[0]);
1198 sink.put(captures.pre);
1203 sink.put(captures.post);
1248 there is no format string instead captures are passed to
1368 there is no format string instead captures are passed to
1394 string baz(Captures!(string) m)