瀏覽代碼

[Minor] Do not split on `.`

tags/3.5
Vsevolod Stakhov 1 年之前
父節點
當前提交
be93d9a1a2
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/client/rspamc.cxx

+ 1
- 1
src/client/rspamc.cxx 查看文件

@@ -834,7 +834,7 @@ rspamc_print_indented_line(FILE *out, std::string_view line) -> void
using namespace std::literals;

constexpr const auto whitespace = " \f\n\r\t\v"sv;
constexpr const auto break_begin = " \f\n\r\t\v?.,;\"'<({[~!@#$%^&*+:-_=/\\|"sv;
constexpr const auto break_begin = " \f\n\r\t\v?,;\"'<({[~!@#$%^&*+:-=/\\|"sv;
constexpr const auto break_end = " \f\n\r\t\v?.,;\"']})>~!@#$%^&*+:-_=/\\|"sv;

for (size_t pos = 0; pos < line.size(); ) {

Loading…
取消
儲存