adds meta events and begins transition to regex based parsing