upgrading the grammar for pegex