add escaping and tests for it
add support for ranges and escaping within ranges