mirror of
https://github.com/ldqk/Masuit.Tools.git
synced 2026-10-28 20:33:04 +08:00
update
This commit is contained in:
@@ -590,7 +590,7 @@ namespace Masuit.Tools
|
||||
|
||||
if (ignoreCase)
|
||||
{
|
||||
return Regex.IsMatch(s.ToLower(), string.Join("|", keys).ToLower());
|
||||
return Regex.IsMatch(s, string.Join("|", keys), RegexOptions.IgnoreCase);
|
||||
}
|
||||
|
||||
return Regex.IsMatch(s, string.Join("|", keys));
|
||||
|
||||
@@ -370,7 +370,6 @@ namespace Masuit.Tools.Net
|
||||
/// <summary>
|
||||
/// 获取内容长度
|
||||
/// </summary>
|
||||
/// <param name="url"></param>
|
||||
/// <param name="rangeAllowed"></param>
|
||||
/// <param name="redirectedUrl"></param>
|
||||
/// <returns></returns>
|
||||
|
||||
Reference in New Issue
Block a user