Skip to content

Commit

Permalink
Fix examples for add.branch_replacements config setting (#90)
Browse files Browse the repository at this point in the history
Turns out you need the full path, `[section]` markers don't apply to
nested tables like this.
  • Loading branch information
9999years authored Oct 22, 2024
1 parent 719ed92 commit 9235337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ commands = [
# `rebeccat/team-1234-some-ticket-title-which-is-way-too-long`. With
# configuration like this:
#
# [[branch_replacements]]
# [[add.branch_replacements]]
# find = '''\w+/\w{1,4}-\d{1,5}-(\w+(?:-\w+){0,2}).*'''
# replace = '''$1'''
#
Expand All @@ -96,7 +96,7 @@ commands = [
#
# For completeness, you can also specify how many replacements are performed:
#
# [[branch_replacements]]
# [[add.branch_replacements]]
# find = '''puppy'''
# replace = '''doggy'''
# count = 1
Expand Down

0 comments on commit 9235337

Please sign in to comment.