标签: python regex
def foo (): x = re.compile('^abc') foo2(x) def foo2(x): # How do I get x to return '^abc'? logging.info('x is ' + x.???)
答案 0 :(得分:4)
pattern