I updated the documentation because of people having such problems. pyPEG2 is written for Python 3. That means, it uses Unicode strings all the way. For Python 2.7, this would require strings of the form i.e. u'f(x)'
. Because I don't want to have the documentation twice, I'm recommending from __future__ import unicode_literals, print_function
VB.