1use crate::*; 2 3/// Regex pattern to match derive attribute 4/// 5/// This pattern matches `#[derive(...)]` attributes in Rust code. 6pub static DERIVE_REGEX: LazyLock<Regex> = LazyLock::new(|| { 7 regex::Regex::new(r"#\[derive\s*\(([^)]+)\)\]").expect("Invalid regex pattern") 8});