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

   foo2(x)

def foo2(x):

How do I get x to return '^abc'? within the following code

logging.info('x is ' + x.???)
Ethan Post
  • 3,020
  • 3
  • 27
  • 27

1 Answers1

3

pattern

Chris Boran
  • 4,781
  • 2
  • 25
  • 25