throw new IllegalStateException("unknown line pattern " + e.getTagName());
}
private RegexEntryPattern parseRegexEntryPattern(Element r) {
Pattern pattern = XmlReaderUtil.parsePattern(XmlReaderUtil.getSingleElement(r, "pattern"), Pattern.MULTILINE);
return new RegexEntryPattern(pattern);
}