The grep command supports perl-flavored regular expression pattern matching. Rather than grepping for specific words, you can use regex with grep to find patterns throughout a text or command output.
Using the underlying regex crate (i.e. removing the code above and just doing a BufReader.lines() and then Regex.is_match() works as expected I admit I might do something very very dumb, but I cannot ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する