add a newline at the end of regex.rs

This commit is contained in:
Megumin
2021-09-15 22:22:55 +03:00
committed by GitHub
parent a2bfaa5791
commit 6e46362d13

View File

@@ -1,4 +1,4 @@
use once_cell::sync::Lazy;
use regex::Regex;
pub static RE_USERNAME: Lazy<Regex> = Lazy::new(|| Regex::new(r"^[a-zA-Z0-9_.]+$").unwrap());
pub static RE_USERNAME: Lazy<Regex> = Lazy::new(|| Regex::new(r"^[a-zA-Z0-9_.]+$").unwrap());