Fixed regex to match newlines within metadata pages
Signed-off-by: Alessandro Tundo <alessandrotundo94@gmail.com>