parameters: (self)
docstring: Get the regex pattern for block(s) to be parsed
docstring_summary: Get the regex pattern for block(s) to be parsed
docstring_tokens: Get the regex pattern for block ( s ) to be parsed
function: def get_pattern(self):
      """ Get the regex pattern for block(s) to be parsed """
      if self.info['pattern'] is None:
          block_candidates = get_block_candidates()
          with SequenceCompleter(block_candidates):
              self.info['pattern'] = cli_input(
                  'Which blocks do you want to parse? (Regex): ')
      if not self.info['pattern'] or self.info['pattern'].isspace():
          self.info['pattern'] = '.'
function_tokens: def get_pattern ( self ) : if self . info [ 'pattern' ] is None : block_candidates = get_block_candidates ( ) with SequenceCompleter ( block_candidates ) : self . info [ 'pattern' ] = cli_input ( 'Which blocks do you want to parse? (Regex): ' ) if not self . info [ 'pattern' ] or self . info [ 'pattern' ] . isspace ( ) : self . info [ 'pattern' ] = '.'