public boolean match (Position p)
	{	try
		{	String s=R.getBracket(P);
			if (s==null) return false;
			char a[]=s.toCharArray();
			for (int i=0; i<a.length; i++)
			{	if (p.end() || a[i]!=p.get()) return false;
				p.advance();
			}
			return true;
		}
		catch (Exception e) { return false; }
	}