Update Constants.kt

val DESCRIPTION_REGEX = Regex("""DESCRIPTION(?:(?:;[^:;]*="[^"]*")*;?(?:;LANGUAGE=[^:;]*)?(?:;[^:;]*="[^"]*")*)*:(.*(?:\r?\n\s+.*)*)""")
This commit is contained in:
SUPYROW 2023-03-16 09:55:50 +01:00 committed by GitHub
parent 72f6b12b47
commit 0eb77c2e13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ const val DURATION = "DURATION:"
const val SUMMARY = "SUMMARY" const val SUMMARY = "SUMMARY"
const val DESCRIPTION = "DESCRIPTION" const val DESCRIPTION = "DESCRIPTION"
const val DESCRIPTION_EXPORT = "DESCRIPTION:" const val DESCRIPTION_EXPORT = "DESCRIPTION:"
val DESCRIPTION_REGEX = Regex("""DESCRIPTION(?:;[^:]*="[^"]*")*:(.*(?:\r?\n(?!\s).*)*)""") val DESCRIPTION_REGEX = Regex("""DESCRIPTION(?:(?:;[^:;]*="[^"]*")*;?(?:;LANGUAGE=[^:;]*)?(?:;[^:;]*="[^"]*")*)*:(.*(?:\r?\n\s+.*)*)""")
const val UID = "UID:" const val UID = "UID:"
const val ACTION = "ACTION:" const val ACTION = "ACTION:"
const val TRANSP = "TRANSP:" const val TRANSP = "TRANSP:"