             # If this is just a one-chain function, or the "corrected"
             # previous line begins with a '.', check for correct
             # indentation
-            if prevLine.match(/\S/i)[0] is '.' or checkNum is lastCheck
-                currentSpaces = currentLine.match(/\S/i)?.index
-                prevSpaces = prevLine.match(/\S/i)?.index
+            if prevLine.match(/\S/)[0] is '.' or checkNum is lastCheck
+                currentSpaces = currentLine.match(/\S/)?.index
+                prevSpaces = prevLine.match(/\S/)?.index
                 numIndents = currentSpaces - prevSpaces
 
                 # If both prev and current lines have uneven spacing,


            currentLine = lines[lineNumber]

            if currentLine.match(/\S/i)?[0] is '.'
                return @handleChain(tokenApi, expected)
            return undefined


module.exports = class Indentation

    rule:
