def test_right_recursive(self):
        grammar = Grammar("""
            digits = digit digits?
            digit = ~r"[0-9]"
            """)
        ok_(grammar.parse('12') is not None)
Right-recursive refs should resolve.
dataset/ETHPy150Open erikrose/parsimonious/parsimonious/tests/test_grammar.py/GrammarTests.test_right_recursive