Make sure multiline string is not accepted by the regexp