Skip to main content

error_re

Function error_re 

Source
pub fn error_re() -> &'static Regex
Expand description

Word-boundary error matcher. Substring matching wrongly flagged identifiers like pending_errors (commit subjects, code symbols) as error lines; \b keeps real signals (ERROR:, panic, 1 error) while ignoring tokens where the word is glued to other word characters (incl. _).