OptionalcomparatorOptionalpartialWhether to allow partial matches (where the path doesn't consume the entire input string).
When false, only paths that fully consume the input will be considered.
When true, paths that leave remaining characters can still match.
When multiple paths match a dispatched input, the comparator is used to determine which match should be considered the "best" match.