aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-06-06 10:43:22 -0500
committerJP Dillingham <jp@dillingham.me>2026-06-06 11:04:45 -0500
commitd35ac4573e2ac5817af3a2b9a6025d41959b9caf (patch)
tree06030fad73ed32f4701f88a2dc492f83e7fc8a81 /src
parent4d0d3e63aee33a1455242f5db9b07c66097a93ca (diff)
downloadslskd-d35ac4573e2ac5817af3a2b9a6025d41959b9caf.tar.gz
require dollar sign prefix for values to eliminate the need for single quotes
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Transfers/Downloads/DownloadService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Transfers/Downloads/DownloadService.cs b/src/slskd/Transfers/Downloads/DownloadService.cs
index ad91ba2c..c6892fc4 100644
--- a/src/slskd/Transfers/Downloads/DownloadService.cs
+++ b/src/slskd/Transfers/Downloads/DownloadService.cs
@@ -243,7 +243,7 @@ namespace slskd.Transfers.Downloads
private ILogger Log { get; } = Serilog.Log.ForContext<DownloadService>();
private IOptionsMonitor<Options> OptionsMonitor { get; }
private EventBus EventBus { get; }
- private Regex SubdirectoryPatternTokenRegex { get; } = new Regex(@"\{([^\{\}]*)\}", RegexOptions.IgnoreCase | RegexOptions.Compiled);
+ private Regex SubdirectoryPatternTokenRegex { get; } = new Regex(@"\$\{([^\{\}]*)\}", RegexOptions.IgnoreCase | RegexOptions.Compiled);
/// <summary>
/// Allow only one enqueue operation for a given user at a time. Entries are added on the fly if they