Example #1
0
def rem_insert_end():
    return literal('<#<')
Example #2
0
def until_block_maybe():
    return __(r'.*?(?=>)'), And(literal('>'))
Example #3
0
def ref_insert_end():
    return literal('<')
Example #4
0
def rem_insert_start():
    return literal('>#>')
Example #5
0
def ref_insert_start():
    return literal('>'), And([literal('['), literal('{')])
Example #6
0
def ref_insert_middle():
    return [(literal('['), identifier, literal(']')),
            (literal('{'), identifier, literal('}'))], And(literal('<'))
Example #7
0
def block_freeform_end():
    return literal('}'), anyws, block_end
Example #8
0
def block_freeform():
    return literal('{'), ZeroOrMore((ws, literal('<-{'))),
Example #9
0
def block_end():
    return literal('<<<')
Example #10
0
def block_tabular():
    return literal('<'), ws
def block_start():
    return literal('>->'), identifier, literal('<'), [
        literal('+'), literal('-')
    ]