added regex support for monitor graphs