Skip to content

Commit

Permalink
updating regex for ENTRY_FORMATTING_PATTERN_REGEX
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Valdes Gutierrez <[email protected]>
  • Loading branch information
BigSamu committed Apr 3, 2024
1 parent 4f6d437 commit e8af509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e8af509

Please sign in to comment.