Skip to content

Commit

Permalink
Fix regex
Browse files Browse the repository at this point in the history
There are a couple levels of encoding here, which makes it hard to write
the regex.
  • Loading branch information
anishathalye committed Jul 15, 2023
1 parent 063c0fe commit 63254c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
tokens: |
{"https://github.com": "${{ secrets.GITHUB_TOKEN }}"}
swap_urls: |
{"^\(\..*\)\.md\(#?.*\)$": "\\1.md.html\\2"}
{"^(\\..*)\\.md(#?.*)$": "\\1.md.html\\2"}

0 comments on commit 63254c5

Please sign in to comment.