Skip to content

Commit

Permalink
fix(docs): version regex in usage examples
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Aug 22, 2023
1 parent 481baca commit 204b308
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ parse-trailers = false
repository = "."
sections = ["fix", "maint"]
template = "angular"
version-regex = "^## \[(?P<version>v?[^\]]+)"
version-regex = "^## \\\\[(?P<version>v?[^\\\\]]+)"
```

In the case of configuring *git-changelog* within `pyproject.toml`, these
Expand All @@ -500,7 +500,7 @@ parse-trailers = false
repository = "."
sections = "fix,maint"
template = "keepachangelog"
version-regex = "^## \[(?P<version>v?[^\]]+)"
version-regex = "^## \\\\[(?P<version>v?[^\\\\]]+)"
```

[keepachangelog]: https://keepachangelog.com/en/1.0.0/
Expand Down

0 comments on commit 204b308

Please sign in to comment.