소스 검색

[Minor] Do not split on `.`

tags/3.5
Vsevolod Stakhov 1 년 전
부모
커밋
be93d9a1a2
No account linked to committer's email address
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…
취소
저장