         .lex goalQuestionMarkRegex, 'goal ?s', 'goal ?'
         .result
 
+    test = new Lexer text
+        .lex commentRegex, 'raw', 'comment'
+    console.log test
+
     # tag original positions
     pos = 0
     tokens


        # reorganize the contents inside the brackets
        obj.modifiedContent = obj.modifiedContent.replace(/\{!.*!\}/, "{! #{content + paddingSpaces} !}").substr(prefix.length)
        
        i += 1
        return obj



#
#   "Pure" in the sense of not having any interaction with the text buffer
#

# regular expressions

commentRegex = /(--[^\r\n]*[\r\n])|(\{-([^-]|[\r\n]|(-+([^-\}]|[\r\n])))*-+\})/
goalBracketRegex = /(\{![^!\}]*!\})/
goalQuestionMarkGroupRegex =
    /// (
