# 'Your post contains words that aren't allowed' ... but which ones?

**URL:** <https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691>\
**Category:** Bug\
**Created:** [February 27, 2018, 6:44pm UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691 "2018-02-27T18:44:56Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [February 28, 2018, 2:06am UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/11 "2018-02-28T02:06:56Z")

</div>

> [@awesomerobot](#):
>
> I think as long as we can show someone what they literally typed it should be fine? So if an admin configured an “ass” regex that was too broad and the word “assassin” was blocked, we’d tell the user “assassin” was blocked to avoid accidentally showing someone an offensive word in the alert…

Yes, for sure when using regex blocks we can display the regex match so what it could say is:

> You are not allowed to include the word `assassin` in your post.

It is 100% correct even if the ban is for `/ass.*/ ` .

It is super clear then what to do and how to correct it and does not risk leaking out an offensive word that was not in the post in the first-place.

---

_[View the full topic](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691)._
