How is std.regex.replaceAllInto more efficient?

Dmitry Olshansky via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 17 08:40:56 PDT 2015


On 17-Oct-2015 16:43, Shriramana Sharma wrote:
> Dmitry Olshansky wrote:
>
>> My problem with it is writeln/byLine b/c it can't be unittested.
>> Documented unit-tests as examples are gold.
>
> That's true, but then the point was not to produce a valid unittest for the
> *Into functions but a meaningful *example*, which will make clear to a user
> how this function is useful, no?
>

Listing code that is not routinely tested on each build means someday it 
may become broken. Anyway just issue a pull request, we can figure out 
the details in github discussion.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list