Isn't this a pretty simple regex? Just look for <'s and &'s without entity syntax.
On Tue, Sep 2, 2008 at 11:28 AM, Gabriel Reis <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there any tool to verify if a String is escaped? Something like this:
>
> assertFalse( StringEscapeUtils.isHtmlEscaped("<b>text</b>") );
>
> assertTrue( StringEscapeUtils.isHtmlEscaped("<b>text</b>") );
>
>
> []s
> Gabriel
>
--
ted
