Check if the path of this matches path.
It path matches, the amount of matched characters is returned in matched.
| this | |
| path |
a path |
| matched |
the amount of matched characters of |
|
true when |