# 增加允许的监视词长度

**URL:** <https://meta.discourse.org/t/increase-allowed-length-of-watched-words/166249>\
**Category:** Feature\
**Tags:** watched-words\
**Created:** [2020 年10 月 5 日 08:07 UTC](https://meta.discourse.org/t/increase-allowed-length-of-watched-words/166249 "2020-10-05T08:07:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
发布日期： [2020 年12 月 7 日 00:04 UTC](https://meta.discourse.org/t/increase-allowed-length-of-watched-words/166249/4 "2020-12-07T00:04:23Z")

</div>

所有被监控的词汇会被合并成一个正则表达式，因此我们需要稍加小心。不过将数量翻倍到 100 应该没问题——这并不比两个 50 字符的“词汇”更糟糕。

以下是针对此更改的 PR：

> <https://github.com/discourse/discourse/pull/11437>
>
> This is useful for more complex regex watched words
> 
> https://meta.discourse.or…g/t/166249

---

_[View the full topic](https://meta.discourse.org/t/increase-allowed-length-of-watched-words/166249)._
