But, if the poster had written "Obama is the worst POTUS - Ever!"; the Professor would have been unable to do anything - except cry and stomp his feet. By using the F-bomb, you gave him the weapon he needed to remove the term.
Did you read the article. It specifically said the profanity was not the issue. It sounds like your configuration would have been removed as well.