boolean (@NotNull final String name, @NotNull final String pattern) { final Pattern compiledPattern = getTaskPattern(pattern); if (compiledPattern == null) { return false; } return new Perl5Matcher().matches(name, compiledPattern); }