Commits

insolor committed 0e7dac2

Added support for \t escape symbol

  • Participants
  • Parent commits 9269bcf
  • Tags 0.0.9

Comments (0)

Files changed (1)

         if atom(line) then
             exit
         end if
+        line = match_replace("\\r", line, "\r")
+        line = match_replace("\\t", line, "\t")
         x = split(line, '|')
         if length(x)>3 then
-            x[2] = match_replace("\\r", x[2], "\r")
-            x[3] = match_replace("\\r", x[3], "\r")
             if has(trans,x[2]) and debug then
                 printf(1,"Warning: there already is <%s> key in the map.\n",{x[2]})
             end if