list.add(new IgnoredPathEquals(""));
list.add(new IgnoredPathStarts("/"));
break;
}
if (ignoredPath.startsWith("regex:")) {
list.add(new IgnoredPathRegexMatch(ignoredPath.substring("regex:".length())));
} else {
if (ignoredPath.length() > 0 && !ignoredPath.startsWith("/")
&& !ignoredPath.startsWith("*")) {
ignoredPath = "/" + ignoredPath;
}