Removing the debug logging for printing the regex used