core :: Text :: escape_to_nit
assert "\n\"'\\\{\}".escape_to_nit == "\\n\\\"\\'\\\\\\\{\\\}"
# Escape to C plus braces
#
# ~~~
# assert "\n\"'\\\{\}".escape_to_nit == "\\n\\\"\\'\\\\\\\{\\\}"
# ~~~
fun escape_to_nit: String do return escape_more_to_c("\{\}")
lib/core/text/abstract_text.nit:754,2--759,61