break;
}
- if (data.matches("<(\"[^\"]*\"|'[^']*'|[^'\">])*>"))
+ // if (data.matches("<(\"[^\"]*\"|'[^']*'|[^'\">])*>"))
+ if (data.matches("<(?i)html(\"[^\"]*\"|'[^']*'|[^'\">])*>"))
{
- reply = HtmlFile.FILE_DESC;
+ reply = "HTML";
break;
}
- if ((data.indexOf("<") > -1))
+ if (data.matches("<(?i)rnaml (\"[^\"]*\"|'[^']*'|[^'\">])*>"))
{
reply = "RNAML";