release 1.6.0

This commit is contained in:
mii443
2024-09-23 17:07:27 +09:00
parent c5de9b9663
commit 4efed72eba
4 changed files with 12 additions and 8 deletions

View File

@@ -33,6 +33,9 @@ impl ConversionHandler {
impl ConversionHandler {
fn tsf_conversion(&mut self, contents: &str, config: &Config) -> CallbackResult {
if contents.chars().count() > 140 {
return CallbackResult::Next;
}
if config.skip_url && Regex::new(r"(http://|https://){1}[\w\.\-/:\#\?=\&;%\~\+]+").unwrap().is_match(&contents) {
return CallbackResult::Next;
}