Fix modifying the constant
Fix line regex