Carlo Teubner dad8b1d2ea Fix backup file path substitution
Previously, in a pattern like "{TIME:yy} {TIME}",
substituteBackupFilePath() would greedily use the entire string
"yy} {TIME" as the format specifier for the first TIME template, instead
of just "yy". Fix this, by adjusting the regular expression.

This ends up changing the behaviour of a weird corner case that is
covered in the tests, so change the test. I don't think anyone cares
about that case, and I think the current behaviour is better there.

Fixes #10505 (proved by adding a test case very similar to what was
reported there).
2024-06-22 07:40:21 -04:00
..
2024-06-22 07:25:32 -04:00
2021-07-13 22:08:33 -04:00
2018-03-31 16:01:30 -04:00
2015-09-12 13:55:50 +02:00
2017-10-21 13:15:02 +02:00
2024-01-06 15:17:13 -05:00
2022-05-01 16:02:02 -04:00
2023-12-22 15:12:07 -05:00
2023-07-04 07:24:10 -04:00
2023-01-29 09:38:44 -05:00
2023-07-30 09:56:09 -04:00
2023-07-30 09:56:09 -04:00
2022-05-01 16:02:02 -04:00
2022-05-01 16:02:02 -04:00
2024-03-06 07:42:01 -05:00
2019-03-19 18:56:17 -04:00
2024-03-06 07:42:01 -05:00