If I specified --match-d=/src/ options, it will only match the src/foo folder and only found the src/foo/bar.cpp file. The src/baz.cpp will be not matched.
It's not my expected result. I think --match-d=/src/ should also match itself rather than subdirectory only.
For now, I have to set --match-d=/src(/|$) to achieve.
For example, we have the structure:
If I specified
--match-d=/src/
options, it will only match thesrc/foo
folder and only found thesrc/foo/bar.cpp
file. Thesrc/baz.cpp
will be not matched.It's not my expected result. I think
--match-d=/src/
should also match itself rather than subdirectory only.For now, I have to set
--match-d=/src(/|$)
to achieve.