`compilePattern` was right because it's also used for the hostname pattern. Same for `findNextSeparator($pattern)`