From e8af509bd0c1cbd57774157eb0aff17f838880b6 Mon Sep 17 00:00:00 2001 From: Samuel Valdes Gutierrez Date: Wed, 3 Apr 2024 18:10:46 -0300 Subject: [PATCH] updating regex for ENTRY_FORMATTING_PATTERN_REGEX Signed-off-by: Samuel Valdes Gutierrez --- src/config/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/constants.js b/src/config/constants.js index 81be4e93e..bf1e26ae5 100644 --- a/src/config/constants.js +++ b/src/config/constants.js @@ -72,7 +72,7 @@ export const CHANGELOG_SECTION_REGEX = new RegExp( * @type {RegExp} */ export const ENTRY_FORMATTING_PATTERN_REGEX = new RegExp( - `([^a-zA-Z])?\\s*([a-zA-Z0-9]+):?(.*)?` + `([^a-zA-Z])?\\s*(.*):?(.*)?` ); // Explanation: // - '-\\s*' matches a hyphen followed by any number of whitespace characters up until the first capturing group.