diff --git a/axum1/src/lib.rs b/axum1/src/lib.rs index f01dc62..37439df 100644 --- a/axum1/src/lib.rs +++ b/axum1/src/lib.rs @@ -19,10 +19,10 @@ pub mod upload; pub mod utils; static RE_USERNAME: Lazy = Lazy::new(|| { - Regex::new(r#"^[a-zA-Z0-9 íáéúőóüöűÍÁÉÚŐÓÜÖŰ](\.?[a-zA-Z0-9 íáéúőóüöűÍÁÉÚŐÓÜÖŰ])*$"#).unwrap() + Regex::new(r"^[a-zA-Z0-9 íáéúőóüöűÍÁÉÚŐÓÜÖŰ](\.?[a-zA-Z0-9 íáéúőóüöűÍÁÉÚŐÓÜÖŰ])*$").unwrap() }); static RE_RECIPE: Lazy = Lazy::new(|| { - Regex::new(r#"^[a-zA-Z0-9-íáéúőóüöűÍÁÉÚŐÓÜÖŰ](\-?[a-zA-Z0-9 íáéúőóüöűÍÁÉÚŐÓÜÖŰ - \s])*$"#) + Regex::new(r"^[a-zA-Z0-9-íáéúőóüöűÍÁÉÚŐÓÜÖŰ](\-?[a-zA-Z0-9 íáéúőóüöűÍÁÉÚŐÓÜÖŰ - \s])*$") .unwrap() });