use regex::Regex; use std::fmt; lazy_static! { static ref OBSIDIAN_NOTE_LINK_RE: Regex = Regex::new(r"^(?P[^#|]+)??(#(?P
.+?))??(\|(?P