【修复】修复path校验子资源路径匹配判定的问题

main
walon 2022-02-19 19:29:50 +08:00
parent 13ee28835a
commit c79e6169a6
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ namespace Luban.Client.Common.Net
Session.ReplyRpc<GetInputFile, GetInputFileArg, GetInputFileRes>(rpc, res); Session.ReplyRpc<GetInputFile, GetInputFileArg, GetInputFileRes>(rpc, res);
} }
private readonly Regex _subResPattern = new Regex(@"(.+)\[(\d+)]$"); private readonly Regex _subResPattern = new Regex(@"(.+)\[(.+)\]$");
private readonly ConcurrentDictionary<string, YamlDocument> _cacheYamlDocs = new(); private readonly ConcurrentDictionary<string, YamlDocument> _cacheYamlDocs = new();