-P / --pattern does not support pipe-separated patterns (e.g. "src|docs"), unlike the updated -I handling as referenced here #59 #57
The glob::Pattern type does not interpret | as an OR operator (per docs: https://docs.rs/glob/latest/glob/struct.Pattern.html).
Currently, pattern_glob is stored as: Option<Pattern>
The proposed change is to make it a Vec<Pattern> and implement a flat mapping similar to the case of the exclusion -I flag and update downstream usage accordingly.
-P / --pattern does not support pipe-separated patterns (e.g. "src|docs"), unlike the updated -I handling as referenced here #59 #57
The glob::Pattern type does not interpret | as an OR operator (per docs: https://docs.rs/glob/latest/glob/struct.Pattern.html).
Currently, pattern_glob is stored as:
Option<Pattern>The proposed change is to make it a
Vec<Pattern>and implement a flat mapping similar to the case of the exclusion -I flag and update downstream usage accordingly.