updated plot regex