From 746fb5818ac77b1261ab11466f6fed2e279baaec Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Thu, 15 Jan 2015 16:36:20 +0100 Subject: Add comment about CONTROL chars --- src/vobject/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vobject/lib.rs b/src/vobject/lib.rs index 695e09b..4eb6a89 100644 --- a/src/vobject/lib.rs +++ b/src/vobject/lib.rs @@ -187,6 +187,9 @@ value_char = !eol . eol = "\r\n" / "\n" / "\r" dquote = "\"" eols = eol+ + +// Taken from vCard. vCalendar's is a subset. Together with the definition of "qsafe_char" this +// might reject a bunch of valid iCalendars, but I can't imagine one. ctl = [\u{00}-\u{1F}] / "\u{7F}" whitespace = " " / "\t" -- cgit v1.2.3