remove pointless quantifier in datepattern

pull/3581/head
Eric Niklas Wolf 2024-01-22 11:07:30 +01:00
parent 04e8b0ac04
commit 55bf772b05
No known key found for this signature in database
GPG Key ID: 80D2DA428A4A537F
1 changed files with 1 additions and 1 deletions

View File

@ -25,4 +25,4 @@ nextcloud-prefix = <nextcloud-prefix-<logging>>
# based on https://docs.nextcloud.com/server/27/admin_manual/installation/harden_server.html#setup-a-filter-and-a-jail-for-nextcloud
_groupsre = (?:(?:,?\s*"\w+":(?:"(?:[^"\\]|\\.)*"|\w+))*)
datepattern = ^%(nextcloud-prefix)s?\{%(_groupsre)s,?\s*"time"\s*:\s*"%%Y-%%m-%%d[T ]%%H:%%M:%%S(%%z)?"
datepattern = ^%(nextcloud-prefix)s\{%(_groupsre)s,?\s*"time"\s*:\s*"%%Y-%%m-%%d[T ]%%H:%%M:%%S(%%z)?"