Corrected hack night solution to handle challenge 5, meant adding m modifier to regex engine to not treat line-feed as string end