On Sunday, 3 March 2019 at 18:32:14 UTC, user1234 wrote:
On Sunday, 3 March 2019 at 18:07:57 UTC, Samir wrote:
or  // sorry i don't have the regex API in mind

  import std.array: array;
  import std.alogrithm.iteration : map;
auto allMatches = matchAll(line, pattern).map(a => a.hit).array;

oops forgot the bang

auto allMatches = matchAll(line, pattern).map!(a => a.hit).array;


Reply via email to