test/cases/0160-string: add tests and ldoc description for
get_escaped_chars_in_ranges