I double checked, "keepachangelog" claims it is a markdown format, which is a bunch of ad hoc formats, so when formatters run against CHANGELOG.md, I get
## \[3.0.0\] - 2023-08-21
and the validator claims there isn't a version number. The formatter is attempting to escape the square brackets because otherwise it looks like an incomplete hyperlink.
Can you update this to regex = re.compile(r"\\?\[(.*?)\\?\](.*)")
I double checked, "keepachangelog" claims it is a markdown format, which is a bunch of ad hoc formats, so when formatters run against
CHANGELOG.md
, I get## \[3.0.0\] - 2023-08-21
and the validator claims there isn't a version number. The formatter is attempting to escape the square brackets because otherwise it looks like an incomplete hyperlink.
Can you update this to
regex = re.compile(r"\\?\[(.*?)\\?\](.*)")
Let me know if you'd rather a PR