test smudge
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
641946884c
commit
7c57042f19
|
@ -2,7 +2,8 @@ use regex::{Captures, Regex, Replacer};
|
||||||
use std::io::stdin;
|
use std::io::stdin;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
"test123@example.org"
|
"grfg123@rknzcyr.bet"
|
||||||
|
"grfg456@rknzcyr.bet"
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct MailScrambler;
|
struct MailScrambler;
|
||||||
|
@ -29,7 +30,7 @@ impl Replacer for MailScrambler {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let re = Regex::new(r#"["]([^"\s]*@[^"\s]*)["]"#).unwrap();
|
let re = Regex::new(r#"["]([^"\f]*@[^"\s]*)["]"#).unwrap();
|
||||||
|
|
||||||
let mut line = String::new();
|
let mut line = String::new();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue