wouldn't ``\s*`` allow newlines as well, which is wrong for heredoc ?