void () { String source = """ <html> <style type="text/css"> .stretchFormElement { width: auto; } </style> <img src="madonna.jpg" alt='Foligno Madonna, by Raphael' one="tro"/> </html>"""; String pattern = "<'_a type=\"text/css\">'_content*</'_a>"; assertEquals("find tag with css content", 1, findMatchesCount(source, pattern, HtmlFileType.INSTANCE)); }