use parentheses in if statement so you can omit the backslash.