minor simplicication and adjustment to regex of "adjustPostfixNotations"