private String ProcessRegEx(String regEx){
		int openedCurlyBracketsIndex = -1;
		while ((openedCurlyBracketsIndex = regEx.indexOf("{", openedCurlyBracketsIndex + 1)) >= 0){
			if (!IsOperator(regEx, openedCurlyBracketsIndex)) continue; // this is special character {
			int closedCurlyBracketsIndex = regEx.indexOf("}", openedCurlyBracketsIndex);
			while (!IsOperator(regEx, closedCurlyBracketsIndex)){ // this is special character }
				closedCurlyBracketsIndex = regEx.indexOf("}", closedCurlyBracketsIndex + 1);
			}
			String regDefName = regEx.substring(openedCurlyBracketsIndex + 1, closedCurlyBracketsIndex);
			for (int i = 0; i < mRegDefList.size(); ++i)
				if (mRegDefList.get(i).mRegDefName.equals(regDefName)){
					String replaceString = "{" + regDefName + "}";
					regEx = regEx.replace(replaceString, "(" + mRegDefList.get(i).mRegEx + ")");
				}
		}
		return regEx;
	}