broadened regex
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Remy Moll 2023-11-18 12:59:03 +01:00
parent 8b7a318e6b
commit 724b17c4b7

View File

@ -69,7 +69,7 @@ class JournalEntry(BaseModel):
"("
"(((?<=(\.|\!|\?)\s)[A-Z])|(^[A-Z]))" # beginning of a sentence
"([^\.\!\?])+" # any character being part of a sentence
"\:\)" # the smiley
"((\:\))|😇|😈)" # the smiley
"([^\.\!\?])*" # continuation of sentence
"(\.|\!|\?|\,|$)" # end of the sentence
")"