parameters: (specs)
return_statement: return result
docstring: Returns a list of RemyCC files, for example:
          ["myremycc.5"] -> ["myremycc.5"]
          ["myremycc.[3:3:9]"] -> ["myremycc.3", "myremycc.6", "myremycc.9"]
docstring_summary: Returns a list of RemyCC files, for example:
          ["myremycc.5"] -> ["myremycc.5"]
          ["myremycc.[3:3:9]"] -> ["myremycc.3", "myremycc.6", "myremycc.9"]
docstring_tokens: Returns a list of RemyCC files for example : [ myremycc . 5 ] - > [ myremycc . 5 ] [ myremycc . [ 3 : 3 : 9 ] ] - > [ myremycc . 3 myremycc . 6 myremycc . 9 ]
function: def generate_remyccs_list(specs):
      """Returns a list of RemyCC files, for example:
          ["myremycc.5"] -> ["myremycc.5"]
          ["myremycc.[3:3:9]"] -> ["myremycc.3", "myremycc.6", "myremycc.9"]
      """
      result = []
      for spec in specs:
          match = REMYCCSPEC_REGEX.match(spec)
          if not match:
              result.append(spec)
          else:
              name = match.group(1)
              start = int(match.group(2))
              if match.group(4) is None:
                  stop = int(match.group(3))
                  step = 1
              else:
                  stop = int(match.group(4))
                  step = int(match.group(3))
              result.extend("{name}.{index:d}".format(name=name, index=index) for index in range(start, stop+1, step))
      return result
function_tokens: def generate_remyccs_list ( specs ) : result = [ ] for spec in specs : match = REMYCCSPEC_REGEX . match ( spec ) if not match : result . append ( spec ) else : name = match . group ( 1 ) start = int ( match . group ( 2 ) ) if match . group ( 4 ) is None : stop = int ( match . group ( 3 ) ) step = 1 else : stop = int ( match . group ( 4 ) ) step = int ( match . group ( 3 ) ) result . extend ( "{name}.{index:d}" . format ( name = name , index = index ) for index in range ( start , stop + 1 , step ) ) return result