Browse Source

[Minor] Do not split on `.`

tags/3.5
Vsevolod Stakhov 1 year ago
parent
commit
be93d9a1a2
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/client/rspamc.cxx

+ 1
- 1
src/client/rspamc.cxx View File

@@ -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…
Cancel
Save