diff --git a/src/main/java/io/quarkus/bot/release/util/Issues.java b/src/main/java/io/quarkus/bot/release/util/Issues.java index dc2a2ff..ff38f22 100644 --- a/src/main/java/io/quarkus/bot/release/util/Issues.java +++ b/src/main/java/io/quarkus/bot/release/util/Issues.java @@ -26,8 +26,8 @@ public final class Issues { private static final String RELEASE_STATUS_MARKER = ""; - private static final Pattern RELEASE_INFORMATION_PATTERN = Pattern.compile(RELEASE_INFORMATION_MARKER + "\n(.*?)\n" + END_OF_MARKER, Pattern.DOTALL); - private static final Pattern RELEASE_STATUS_PATTERN = Pattern.compile(RELEASE_STATUS_MARKER + "\n(.*?)\n" + END_OF_MARKER, Pattern.DOTALL); + private static final Pattern RELEASE_INFORMATION_PATTERN = Pattern.compile(RELEASE_INFORMATION_MARKER + "\\H(.*?)\\H" + END_OF_MARKER, Pattern.DOTALL); + private static final Pattern RELEASE_STATUS_PATTERN = Pattern.compile(RELEASE_STATUS_MARKER + "\\H(.*?)\\H" + END_OF_MARKER, Pattern.DOTALL); @Inject @Yaml