Update RegexFunctions.cs