RE regexp = new RE((String)find.getSelectedItem(), (ignoreCase.getModel().isSelected() ? RE.REG_ICASE : 0),jEdit.getRESyntax(jEdit .getProperty("search.regexp.value")));
RE regexp = jEdit.getRE();
	private void doHyperSearch()	{		try		{			positions.removeAllElements();			Buffer buffer = view.getBuffer();			int tabSize = buffer.getTabSize();			Vector data = new Vector();			RE regexp = new RE((String)find.getSelectedItem(),				(ignoreCase.getModel().isSelected()				? RE.REG_ICASE : 0),jEdit.getRESyntax(jEdit				.getProperty("search.regexp.value")));			Element map = buffer.getDefaultRootElement();			int lines = map.getElementCount();			for(int i = 1; i <= lines; i++)			{				Element lineElement = map.getElement(i - 1);				int start = lineElement.getStartOffset();				String lineString = buffer.getText(start,					lineElement.getEndOffset() - start					- 1);				REMatch match = regexp.getMatch(lineString);				if(match != null)				{					data.addElement(i + ":"						+ lineString);					positions.addElement(buffer						.createPosition(start + match						.getStartIndex()));				}			}			if(data.isEmpty())				view.getToolkit().beep();			results.setListData(data);		}		catch(Exception e)		{			Object[] args = { e.getMessage() };			if(args[0] == null)				args[0] = e.toString();			GUIUtilities.error(view,"reerror",args);		}	}