Perform a case-insensitive multiline match 

This will allow some of the filters to activate that otherwise would not have.

Also remove ending whitespace from lines.