parse_unescape using dynamic string

Signed-off-by: xiehuc <xiehuc@gmail.com>