fix
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
7c57042f19
commit
847f9c3705
|
@ -30,7 +30,8 @@ impl Replacer for MailScrambler {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
let re = Regex::new(r#"["]([^"\f]*@[^"\s]*)["]"#).unwrap();
|
||||
let re =
|
||||
Regex::new(r#""([[[:ascii:]]&&[^"\f\[\]\\]]*?@[[[:nfpvv:]]&&[^"\s]\[\]\\]*)""#).unwrap();
|
||||
|
||||
let mut line = String::new();
|
||||
|
||||
|
|
Loading…
Reference in a new issue