

void main(){
	Expression = "($RRE:\\(({RRE}|A+)\\)){RRE}";
	Expression = "($OK:X{OK}?){OK}";
	ok = Expression.RegularExpression("isValid");
	if(!ok){
		Zvit = Expression.RegularExpression("Details");
		trace(Zvit);
		ErrorMessage = Expression.RegularExpression("ErrorMessage");
		trace(ErrorMessage);
		}
	Data = "XXXXX";
	Result = Expression.RegularExpression("Parse",Data);
	trace(Result.export());
	trace(JSON("stringify",Result));
	getstring();
}


