Correctly extract select statements from view creation sql

Because SQL Server stores raw sql statements for view creation we must ensure the Regexp responsible for extracting the select part of the view will be able to deal with newline/spaces and tabs properly.