Hi
I have an application with a large number of #if debug blocks which kind of look like the the one below:
#if DEBUG
Console.ForegroundColor = ConsoleColor.DarkCyan;
Console.WriteLine("oldXml: " + oldXml.OuterXml);
Logging.Log("XmlDiff: " + diff_sb.ToString());
Console.ForegroundColor = ConsoleColor.Cyan;
Logging.Log("2XmlDiff: " + diff_sb.ToString());
Console.WriteLine("newXml: " + newXml.OuterXml);
Console.ForegroundColor = ConsoleColor.Green;
#endif
I am using Resharper's search pattern matching function and I need to be able to find all instances of the string "Logging.Log" inside of these if debug blocks
Would anyone know what the regex for this pattern search should be?