Some commands makes use of filters for varying purposes.
ls and in
A filter is supplied as a json object (w/ or w/o the surrounding
Both keys and values can contain regular expressions for a more flexible matching.
An example of a filter could be
The filter option is also accompanied by the options
-l which stands for
ignore case (ignore casing of the characters) and
loose matching (it’s considered a match even if the filter value just matches a part of the compared value, not necessarily the entire value).
So for a case-insensitive, loose filter you can supply a filter with
-f -i -l or
-fil for short.