mirror of
https://github.com/mii443/vrclipboard-ime-gui.git
synced 2025-12-03 03:08:27 +00:00
release 1.6.0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user