tags:

views:

84

answers:

1
def foo ():
   x = re.compile('^abc')

   foo2(x)

def foo2(x):

   # How do I get x to return '^abc'?
   logging.info('x is ' + x.???)
+4  A: 

pattern

Chris Boran