unescape

Convert 'escaped' chars to normal ones. For example: \\ => \

This variant does not require an interim workspace, and instead emits directly via the provided delegate

  1. T[] unescape(const(T)[] src, T[] dst)
  2. void unescape(const(T)[] src, void delegate(const(T)[]) emit)
    void
    unescape
    (
    T
    )
    (
    const(T)[] src
    ,
    scope void delegate
    (
    const(T)[]
    )
    emit
    )

Meta