if (pattern == null || pattern.trim().length() == 0) {
sections.add(new Section());
} else {
pattern = pattern.trim().replaceAll("\\\\", "/");
Pattern p = Pattern.compile("\\A(([a-zA-Z]:)?/)");
Matcher matcher = p.matcher(pattern);
// Look if we've got a absolute or a relativ path
boolean startsWithSysRoot = matcher.lookingAt();
if (startsWithSysRoot) {
sections.add(new Section(pattern
.substring(0, matcher.end() - 1)));