Agreed. One thing bothers me though: it seems strange that you can do prefix match of both path and fragment. It unlikely that anyone would use both. I wonder if it should be configurable, and by default, if fragment `regex != null` then it's full match on path and prefix match on fragment, else it's prefix match on path and ignore fragment.