Removed redunant backslash
Added support for newlines (fixes #1)