replacement for squeeze and removechars.
Seb via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jul 18 08:30:59 PDT 2017
On Tuesday, 18 July 2017 at 15:28:06 UTC, Antonio Corbi wrote:
> Hi all,
>
> I'm trying dmd-2.075.0-rc1 in one of my projects where I use
> `squeeze` and `removechars`. Both of them are flagged as
> obsolete and in the docs we are suggested to use functions from
> std.regex and/or std.algorithm.
>
> Does any one kow a one-liner from std.regex or std.algorithm
> that can take the role of those deprecated functions?
>
> Thank's
> A. Corbi
RTFM:
https://dlang.org/changelog/2.075.0.html#pattern-deprecate
More information about the Digitalmars-d-learn
mailing list