On Friday, 20 June 2014 at 02:41:06 UTC, WhatMeWorry wrote:
The function is perfect except it converts \ to \\.

The function isn't doing that conversion, that's just because when you do writeln() on a range or array, it prints it out in a format that can be read back. That's also why it put the [] and quotes around the entries - they weren't literally in the result string, it was just a printing convention.

Reply via email to