Format Style Fixes
This commit is contained in:
@@ -8,11 +8,7 @@ public static class StringExtensions
|
||||
private static readonly Dictionary<string, Regex> _regexCache = new();
|
||||
private static readonly Lock _regexCacheLock = new();
|
||||
|
||||
public static string RegexReplace(
|
||||
this string source,
|
||||
[StringSyntax(StringSyntaxAttribute.Regex)] string regexString,
|
||||
string newValue
|
||||
)
|
||||
public static string RegexReplace(this string source, [StringSyntax(StringSyntaxAttribute.Regex)] string regexString, string newValue)
|
||||
{
|
||||
Regex regex;
|
||||
lock (_regexCacheLock)
|
||||
|
||||
Reference in New Issue
Block a user