pub(crate) fn new_filter(s: &str) -> Result<Arc<dyn DirFilter + 'static>>
Return a new directory filter as configured by a specified string.