unescape

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

The provided output buffer should be at least as long as the input string, or it will be allocated from the heap instead.

Returns a slice of dst where the content required conversion, or the provided src otherwise

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

Meta