       offsetEnd = offsetStart + match[0].length
       remainder = Jax.Util.scan code[offsetEnd..-1]
       offsetEnd += remainder.length + 1
-      exp = /^(.*?), (.*?), (.*)$/.exec remainder
+      exp = /^(.*?)[\s\t\n]*,[\s\t\n]*(.*?)[\s\t\n]*,[\s\t\n]*(.*)$/.exec remainder
       exports.push
         fullMatch: code[offsetStart...offsetEnd]
         type: exp[1]


    # caches
    caches = {}
    while match = /cache\(([^,]+?), (.*?)\) \{/.exec body
      cacheType = match[1].trim()
      cacheName = match[2].trim()
      offsetStart = match.index

    
  processExportsAndImports: (code) ->
    exports = []
    rx = /export[\s\t\n]*\(/
    offset = 0
    exportID = 0
    while match = rx.exec code[offset..-1]
