Skip to content

Commit

Permalink
Be more permissive about newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Dec 5, 2023
1 parent 38880d1 commit 9414d0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/quarkus/bot/release/util/Issues.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public final class Issues {
private static final String RELEASE_STATUS_MARKER = "<!-- quarkus-release/release-status:";
private static final String END_OF_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
Expand Down

0 comments on commit 9414d0b

Please sign in to comment.