Note the conspicuous lack of traditional swear words on this list.
If I were a kid in this class, I would've abused the hell out of that loophole. (And suffered the consequences, but finding and exploiting the technical ways to skirt a teacher's stupid rules was always worth it.)