# \* wildcards in Watched Words (Censor) don't work

**URL:** <https://meta.discourse.org/t/wildcards-in-watched-words-censor-dont-work/77007>\
**Category:** Feature\
**Created:** [Dezembro 31, 2017, 6:37am UTC](https://meta.discourse.org/t/wildcards-in-watched-words-censor-dont-work/77007 "2017-12-31T06:37:30Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [Janeiro 10, 2018, 3:51pm UTC](https://meta.discourse.org/t/wildcards-in-watched-words-censor-dont-work/77007/15 "2018-01-10T15:51:11Z")

</div>

> [@schungx](#):
>
> This is always assuming that the pattern is a word pattern and \b pairs are auto-wrapped onto it. If the pattern is a regular expression, obviously the \b pairs can be omitted because the user should put them in himself.

@eviltrout is this setting meant to force every word to explicitly include the word boundaries in the patterns? This feature was added for a specific customer, so removing the `\b` around the patterns could have… surprising consequences!

> [@schungx](#):
>
> See that it is censored as it is treating the \* as a wildcard. If it is treated as a regular expression, xyz\* should only match xy followed by a string of zzzz…

Agreed. Censor wasn’t updated to support `watched_words_regular_expression`, so I’ll need to implement it.

---

_[View the full topic](https://meta.discourse.org/t/wildcards-in-watched-words-censor-dont-work/77007)._
