As pointed out in gh-33085, the `AntPatternComparator` hardcodes the "/" separator when checking for "catch all" patterns like "/**". This commit ensures that the custom path separator is used for those checks, in order to guarantee consistent comparator results. See gh-33085