This commit is contained in:
懒得勤快
2020-05-05 16:07:49 +08:00
parent 7408933592
commit 0e4f8a1d7f
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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>