summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Martínez <lkaezadl3@yahoo.com>2016-10-06 04:22:00 -0300
committerDiego Martínez <lkaezadl3@yahoo.com>2016-10-06 04:22:00 -0300
commite058fc93a88c1844d0236ec5b331fecb7cd87bf6 (patch)
tree25962f994de61de49377f0eb2c6f8e330bbda89f
parentc1ddaf66da4674f0b2849ad768174763ebaa864f (diff)
Add some missing escape sequences.
Fixes #7.
-rw-r--r--lib.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib.lua b/lib.lua
index 2349de4..7e8e066 100644
--- a/lib.lua
+++ b/lib.lua
@@ -7,6 +7,10 @@ intllib.INSERTION_CHAR = INS_CHAR
local escapes = {
["\\"] = "\\",
["n"] = "\n",
+ ["s"] = " ",
+ ["t"] = "\t",
+ ["r"] = "\r",
+ ["f"] = "\f",
[INS_CHAR] = INS_CHAR..INS_CHAR,
}