Bug 36439 IndexOutOfBoundsException in HTML2TextReader
R2.1 1. Open java.regex.Pattern 2. Hover over "Pattern" ==> IndexOutOfBoundsException
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/HTML2TextReader.java
fgTags.add("dl"); 
		fgTags.add("dt"); 
		fgTags.add("dd"); 
		fgTags.add("li"); 
		fgTags.add("ul"); 
		fgTags.add("pre"); 
		
		fgEntityLookup= new HashMap(7);
		fgEntityLookup.put("lt", "<"); 
		fgEntityLookup.put("gt", ">"); 
		fgEntityLookup.put("nbsp", " "); 
		fgEntityLookup.put("amp", "&"); 
		fgEntityLookup.put("circ", "^"); 
		fgEntityLookup.put("tilde", "~"); 
		fgEntityLookup.put("quot", "\"");		 
	}
	
	private int fCounter= 0;
	private TextPresentation fTextPresentation;
	private int fBold= 0;
	private int fStartOffset= -1;
	private boolean fInParagraph= false;
	private boolean fIsPreformattedText= false;
	
	/**
	 * Transforms the html text from the reader to formatted text.
	 * @param presentation If not <code>null</code>, formattings will be applied to 
	 * the presentation.
	*/
	public HTML2TextReader(Reader reader, TextPresentation presentation) {