Fan.Sys.FanStr.toRegex C# (CSharp) Method