@Override
    public boolean match(Request request) {
        return patternCompiled.matcher(request.getUrl()).matches();
    }
@param pattern url pattern to handle
webmagic-extension/src/main/java/us/codecraft/webmagic/handler/PatternRequestMatcher.java