       content = content.replace m, -> return replaceContent
 
   return content
+
+module.exports.processInclude = processInclude

    return true if filePath.match re
  return false

module.exports.processInclude = (content, filePath) ->
  matches = content.match /^(\s+)?(\/\/|\/\*|\#)(\s+)?=(\s+)?(include|require)(.+$)/mg
  relativeBasePath = path.dirname filePath

  return content unless matches

  for m of matches
    leadingWhitespaceMatch = m.match /^(\s+)/
    leadingWhitespace = null
    if leadingWhitespaceMatch

path = require 'path'
glob = require 'glob'

extensions = null
includedFiles = []

addLeadingWhitespace = (whitespace, string) ->
  return string.split("\n").map (line) ->
    return whitespace + line
