feat: basically finish packer

This commit is contained in:
2026-08-05 10:45:51 +08:00
parent 26ce893920
commit 8eed2dc7f0
6 changed files with 154 additions and 78 deletions
@@ -25,7 +25,7 @@ def _is_good_sentence(s: str) -> bool:
because EOL chars are not allowed in these properties.
:returns: True if given string don't contain any EOL chars, otherwise false.
"""
return _EOL_PATTERN.match(s) is None
return _EOL_PATTERN.search(s) is None
@dataclass(frozen=True)