Distinguish between division and regexp checking previous token.