From a2e26454dc6b7a49f1b16523f2beaed464050da3 Mon Sep 17 00:00:00 2001 From: Taylor Eernisse Date: Thu, 5 Feb 2026 00:03:21 -0500 Subject: [PATCH] build: Add regex dependency for cross-reference parsing The note_parser module requires regex for extracting "mentioned in" and "closed by" patterns from GitLab system notes. The regex crate provides: - LazyLock-compatible lazy compilation (Regex::new at first use) - Named capture groups for clean field extraction - Efficient iteration over all matches via captures_iter() Version 1.x is the current stable release with good compile times. Co-Authored-By: Claude Opus 4.5 --- Cargo.lock | 1 + Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 0d446b8..ce46e0a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1122,6 +1122,7 @@ dependencies = [ "libc", "open", "rand", + "regex", "reqwest", "rusqlite", "serde", diff --git a/Cargo.toml b/Cargo.toml index 3af10e0..aa3ea01 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,6 +46,7 @@ sha2 = "0.10" flate2 = "1" chrono = { version = "0.4", features = ["serde"] } uuid = { version = "1", features = ["v4"] } +regex = "1" [target.'cfg(unix)'.dependencies] libc = "0.2"