 
         # 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
#   just text transformations only
#

# regular expressions
commentRegex = /(--[^\r\n]*[\r\n])/
goalBracketRegex = /(\{![^!\}]*!\})/
goalQuestionMarkGroupRegex =
    /// (

        .lex goalQuestionMarkRegex, 'goal ?s', 'goal ?'
        .result

    test = new Lexer text
        .lex commentRegex, 'raw', 'comment'
    console.log test

    # tag original positions
    pos = 0
    tokens
