aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ragel/rfc2047_parser.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ragel/rfc2047_parser.rl b/src/ragel/rfc2047_parser.rl
index 26c016361..88e107be1 100644
--- a/src/ragel/rfc2047_parser.rl
+++ b/src/ragel/rfc2047_parser.rl
@@ -43,7 +43,7 @@
token = (graph - especials)+;
charset = token;
encoding = "Q" | "q" | "B" | "b";
- encoded_text = (print - ("?"))+;
+ encoded_text = (print+ -- ("?="));
encoded_word = "=?" charset >Start_Charset %End_Charset
("*" language)? "?"
encoding %End_Encoding "?"