Skip to content

Make # replacing more strict#115

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:replace-number-sign
Feb 12, 2024
Merged

Make # replacing more strict#115
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:replace-number-sign

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

Only replace "#" with "GH-" with the following conditions:

  • "#" is separated from the previous word
  • "#" is followed by at least 5-digit number that does not start with 0
  • the number is separated from the following word

Fixes #114.

Only replace "#" with "GH-" with the following conditions:
* "#" is separated from the previous word
* "#" is followed by at least 5-digit number that does not start with 0
* the number is separated from the following word
@serhiy-storchaka serhiy-storchaka merged commit 19634f2 into python:main Feb 12, 2024
@serhiy-storchaka serhiy-storchaka deleted the replace-number-sign branch February 12, 2024 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants