You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

smtp_whitespace.rl 998B

12345678910111213141516171819202122232425262728
  1. %%{
  2. machine smtp_whitespace;
  3. WSP = " ";
  4. CRLF = "\r\n" | ("\r" [^\n]) | ([^\r] "\n");
  5. DQUOTE = '"';
  6. # Printable US-ASCII characters not including specials
  7. atext = alpha | digit | "!" | "#" | "$" | "%" | "&" |
  8. "'" | "*" | "+" | "_" | "/" | "=" | "?" | "^" |
  9. "-" | "`" | "{" | "|" | "}" | "~";
  10. # Printable US-ASCII characters not including "[", "]", or "\"
  11. dtext = 33..90 | 94..126;
  12. # Printable US-ASCII characters not including "(", ")", or "\"
  13. ctext = 33..39 | 42..91 | 93..126;
  14. dcontent = 33..90 | 94..126;
  15. Let_dig = alpha | digit;
  16. Ldh_str = ( alpha | digit | "_" | "-" )* Let_dig;
  17. quoted_pairSMTP = "\\" 32..126;
  18. qtextSMTP = 32..33 | 35..91 | 93..126;
  19. Atom = atext+;
  20. Dot_string = Atom ("." Atom)*;
  21. dot_atom_text = atext+ ("." atext+)*;
  22. #FWS = ((WSP* CRLF)? WSP+);
  23. FWS = WSP+; # We work with unfolded headers, so we can simplify machine
  24. }%%