parse frame config by using pegex