def _alt(x): return lambda y: pregex.Alt([x,y]) #maybe should be reversed#"(" + x + "|" + y + ")" def _concat(x): return lambda y: pregex.Concat([x,y]) #"(" + x + y + ")"
def _alt(x): return lambda y: pregex.Alt([x, y])
def _alt(x): return lambda y: pregex.Alt([x, y]) def _concat(x): return lambda y: pregex.Concat([x, y]) # "(" + x + y + ")"