switched monitor to regular expressions!