icalendar.parser.property module#

Tools for parsing properties.

icalendar.parser.property.split_on_unescaped_comma(text)[source]#

Split text on unescaped commas and unescape each part.

Deprecated since version 7.0.0: Use the private _split_on_unescaped_comma() internally. For external use, this function is deprecated. Please contact the maintainers if you rely on this function.

Return type:

list[str]

icalendar.parser.property.split_on_unescaped_semicolon(text)[source]#

Split text on unescaped semicolons and unescape each part.

Deprecated since version 7.0.0: Use the private _split_on_unescaped_semicolon() internally. For external use, this function is deprecated. Please contact the maintainers if you rely on this function.

Return type:

list[str]

icalendar.parser.property.unescape_backslash(val)[source]#

Unescape backslash sequences in iCalendar text.

Deprecated since version 7.0.0: Use the private _unescape_backslash() internally. For external use, this function is deprecated. Please contact the maintainers if you rely on this function.

icalendar.parser.property.unescape_list_or_string(val)[source]#

Unescape a value that may be a string or list of strings.

Deprecated since version 7.0.0: Use the private _unescape_list_or_string() internally. For external use, this function is deprecated. Please contact the maintainers if you rely on this function.

Return type:

str | list[str]