Carlo Teubner ed31da0021
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-30 22:23:33 -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-30 18:26:45 -05:00
2024-02-04 11:50:52 -05:00
2021-08-22 18:30:43 -04:00
2023-07-15 15:28:16 -04:00
2023-07-15 15:28:16 -04:00
2022-09-22 06:49:07 -04:00
2023-08-05 07:29:14 -04:00
2023-08-05 07:29:14 -04:00
2024-03-09 15:21:46 -05:00
2024-02-04 11:50:52 -05:00
2019-03-19 18:56:17 -04:00
2024-03-09 15:21:46 -05:00