parameters: (line)
return_statement: return ""
docstring: Returns something like /path/to/AN_20111012/processed/batch_125_126_2.
docstring_summary: Returns something like /path/to/AN_20111012/processed/batch_125_126_2.
docstring_tokens: Returns something like / path / to / AN_20111012 / processed / batch_125_126_2 .
function: def getBatchFolderFromBatchLine(line):
      '''Returns something like /path/to/AN_20111012/processed/batch_125_126_2.'''
      # Extract just the desired folder name    
      m = re.match('^.*?\s([^\s]*?' + batchFolderPrefix() +'\d+_\d+_\d+)', line)
      if m:
          return m.group(1)
      return ""
function_tokens: def getBatchFolderFromBatchLine ( line ) : # Extract just the desired folder name     m = re . match ( '^.*?\s([^\s]*?' + batchFolderPrefix ( ) + '\d+_\d+_\d+)' , line ) if m : return m . group ( 1 ) return ""