@Get("regex:^/regex/(?<name>.*)$")
    public String regex(@Param String name) {
        return "regex: " + name;
    }
Accesses the parameter with the name of the capturing group.
examples/annotated-http-service/src/main/java/example/armeria/server/annotated/PathPatternService.java