void () { String source = "<html><title>title</title></html>"; try { findMatchesCount(source, "<'_tag>", XmlFileType.INSTANCE); } catch (MalformedPatternException e) { fail(); } try { findMatchesCount(source, "<'_tag '_attr>", XmlFileType.INSTANCE); } catch (MalformedPatternException e) { fail(); } }