@Override
    public boolean matching(String target) {
        return null != target
                && null != pattern
                && target.matches(pattern);
    }
referer https://github.com/alibaba/arthas/blob/master/core/src/main/java/com/taobao/arthas/core/util/matcher/RegexMatcher.java
agent/src/main/java/code/landgrey/copagent/utils/matcher/RegexMatcher.java