pub fn compile_filter( filter: Option<String>, regex_mode: bool, ) -> Result<Option<FilterSpec>>
Build a compiled filter from raw CLI filter input.