On 08/24/2018 01:13 PM, Andrey wrote:
This code produces an error:
auto matches = content.matchAll(pattern);
auto max = matches.maxElement!"a => a.back.to!uint"();

You're mixing two different notations. It's either

    matches.maxElement!(a => a.back.to!uint)()

or

    matches.maxElement!"a.back.to!uint"()

Reply via email to