parameters: (self)
return_statement: return self.exp
docstring: Obtain a regular expression that will find substitution keys in text.
  
      Create and cache if the substituter has been updated. Use the cached value
      otherwise. Keys will be enclosed in [square brackets] in text.
  
      Returns:
        A regular expression object.
docstring_summary: Obtain a regular expression that will find substitution keys in text.
docstring_tokens: Obtain a regular expression that will find substitution keys in text .
function: def GetExp(self):
      '''Obtain a regular expression that will find substitution keys in text.
  
      Create and cache if the substituter has been updated. Use the cached value
      otherwise. Keys will be enclosed in [square brackets] in text.
  
      Returns:
        A regular expression object.
      '''
      if self.dirty_:
        components = [r'\[%s\]' % (k,) for k in self.substitutions_]
        self.exp = re.compile(r'(%s)' % ('|'.join(components),))
        self.dirty_ = False
      return self.exp
function_tokens: def GetExp ( self ) : if self . dirty_ : components = [ r'\[%s\]' % ( k , ) for k in self . substitutions_ ] self . exp = re . compile ( r'(%s)' % ( '|' . join ( components ) , ) ) self . dirty_ = False return self . exp