Debian Codegraph @

terps/tads/tads3/test/data/backslash.t

raw
1 #include <tads.h>
2
3 main(args)
4 {
5 for (;;)
6 {
7 "&gt;";
8 local s = inputLine();
9 s = rexReplace(
10 ['^<space>*"', '\\"', '\\\\', '\\n', '\\r', '"<space>*$'], s,
11 ['', '"', '\\', '\n', '\r', '']);
12 "<<s.htmlify()>><br>";
13 }
14 }