--- !ditz.rubyforge.org,2008-03-06/issue title: add a shared helper for string char-by-char string transformation desc: |- Such a helper is needed by e.g. escape() which processes individual characters, emitting one or more output characters. There are other escape functions with similar semantics, so they could share a helper which handles the mechanics of iterating a source string and emitting bytes to an output buffer. Some string transformation functions (like unescape()) need some lookahead, so they need a different model. type: :task component: duk release: reporter: sva status: :unstarted disposition: creation_time: 2013-03-08 22:55:37.885811 Z references: [] id: b48ebaa7734493c1f088e261318566bee1f1be1c log_events: - - 2013-03-08 22:55:38.530826 Z - sva - created - "" - - 2013-03-11 15:08:24.376731 Z - sva - commented - |- There is a beginning of such a helper in duk_bi_global.c, transform_helper().