Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 SciTE 匹配一个单词字符 1 到 7 次?
通常会是
\w{1,7}
我认为在 SciTE 中不能这样做。
也许:\w\w?\w?\w?\w?\w?\w?
它不支持该语法,您可以在此处查看文档。正如 activa 所说,这样做的唯一方法似乎是 \w\w?\w?\w?\w?\w?\w?