public static void setVariable(String in){
		Pattern namepat = Pattern.compile(".*? =");
		Matcher namemat = namepat.matcher(in);
		namemat.find();
		
		Pattern valpat = Pattern.compile("= .*?;");
		Matcher valmat = valpat.matcher(in);
		valmat.find();
		
		VariableManager.set(namemat.group().substring(0, namemat.group().length() - 2), valmat.group().substring(2, valmat.group().length() - 1));
	}