in src/main/java/org/ini4j/BasicProfileSection.java [136:150]
private Pattern newChildPattern(String name)
{
StringBuilder buff = new StringBuilder();
buff.append('^');
buff.append(Pattern.quote(name));
buff.append(REGEXP_ESCAPE_CHAR);
buff.append(_profile.getPathSeparator());
buff.append("[^");
buff.append(REGEXP_ESCAPE_CHAR);
buff.append(_profile.getPathSeparator());
buff.append("]+$");
return Pattern.compile(buff.toString());
}