diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/Constants.kt index 195a98df0..03a9b2ba8 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/Constants.kt @@ -159,7 +159,8 @@ const val LAST_MODIFIED = "LAST-MODIFIED" const val DTSTAMP = "DTSTAMP:" const val DURATION = "DURATION:" const val SUMMARY = "SUMMARY" -const val DESCRIPTION = "DESCRIPTION:" +const val DESCRIPTION = "DESCRIPTION" +val DESCRIPTION_REGEX = Regex("""DESCRIPTION(?:;[^:]*="[^"]*")*:(.*(?:\r?\n(?!\s).*)*)""") const val UID = "UID:" const val ACTION = "ACTION:" const val TRANSP = "TRANSP:"