Permalink
Browse files

Use literal characters in grammer, instead of \n (Issue #1)

  • Loading branch information...
1 parent da4c718 commit 4f76e0c69d65f6b61d1608fedb286bab1f6805c7 @retupmoca committed Feb 15, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/Email/Simple.pm6
  2. +1 −1 lib/Email/Simple/Header.pm6
View
@@ -13,7 +13,7 @@ grammar Message {
<body>
}
token newline {
- \n | \r | \r\n | \n\r
+ \x0a | \x0d | \x0a\x0d | \x0d\x0a
}
token body {
.*
@@ -18,7 +18,7 @@ grammar Headers {
(<newline> \s+ \N*)?
}
token newline {
- \n | \r | \r\n | \n\r
+ \x0a | \x0d | \x0a\x0d | \x0d\x0a
}
}

0 comments on commit 4f76e0c

Please sign in to comment.