/* * vCard and iCalendar share a basic format (called vText here) which has * these characteristics: * * 1. A line SHOULD not exceed 75 characters, plus line terminator. * 2. Lines terminate with a CR/LF sequence. * 3. Long lines may be "folded" between any two characters by terminating * the current line and prefixing the following one with a space or tab * character. When unfolding a line, the terminator and the single * leading whitespace character are ignored. * 4. Lines begin in column 1 and begin with a field name, possibly followed * by one or more parameters, and finishing with a value. * 5. Names match the regular expression /[-A-Za-z0-9]+/. Each vText format * has a list of registered names for fields and parameters, though that * is beyond the scope of vText. * 6. Values may contain horizontal whitespace and any textual characters. * C-format escape sequences such as \n are commonly supported, but may * not be in all circumstances. * 6. Parameters are separated from field names and each other with a semi- * colon (;). The value is delimited by a colon (:). * 7. In current versions of vText-using standards, parameter names are * followed by an equals (=) and one or more values separated by commas * (,). This must be considered optional, however, because older versions * of the same formats did neither required nor even permitted values. * 7. Parameter values may contain most of the characters permitted by field * values except double quote ("). If a parameter value uses characters * that are otherwise reserved as field delimiters, it must be enclosed in * double quotes. * 8. Actual vText files tend to suggest the above is viewed merely as a * group of suggestions rather than a ratified standard. Naturally. */