Skip to content

Commit

Permalink
Simplify regex without changing behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
tpwo committed Nov 7, 2023
1 parent 46ebafd commit d0223b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyzet/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Well formatted Markdown title:
# - single # and a single space between it and the rest of the title
# - no leading or trailing spaces
MARKDOWN_TITLE = r'^#\s([\S]+.*[\S])$'
MARKDOWN_TITLE = r'^#\s(\S.*\S)$'

vim_win_path = Path('C:/Program Files/Git/usr/bin/vim.exe').as_posix()
vim_unix_path = Path('/usr/bin/vim').as_posix()
Expand Down

0 comments on commit d0223b7

Please sign in to comment.