I was just reviewing some edits when I came across an edit where a user with `97` Rep wanted to edit a answer by a user with `12k+`Rep. Just by that I was thinking well this should be good.... 

So looking at the edit and the description I saw "language is not proper offensive word used". Looking at the code there is an array with some swear words it is and some more words that are offensive. 

As a result of this I accepted the edit to change the words used in the array example. Was this the correct decision? Im not sure why this wouldn't have been flagged when the question was asked or if I should flag it now? A user with high rep must be aware of more of the rules of the site, more so then me so it got me thinking.. Is this ok?

Is it ok to use "bad" language on SO? Have I make the correct decision by accepting the edit? 

The question / answers I am refering to can be found [**here**](https://stackoverflow.com/questions/21129718/replace-method-is-not-replacing-inputs/21130476#21130476")

***Note***: I am not repeating any of the words in this post, please look at the question and into edits on that page etc.