joeyvanlierop / xkcdbot

A reddit bot that automatically links xkcd comics in the /r/xkcd subreddit 🤖
MIT License
37 stars 20 forks source link

Issue #12 Fix. No longer matches hyperlink or middle of string. #27

Closed lcheng49 closed 4 years ago

lcheng49 commented 4 years ago

I've updated the code to not match !(number) or #(number) that occur in the middle of a string or url and have added tests to the testing file. This is a PR for #12.

stefanosporiazis commented 4 years ago

Hello! I cloned your fork and tested it. Seems to be working just fine. Nice job :+1:

joeyvanlierop commented 4 years ago

Thanks for the contribution, great work! I appreciate the added tests and thank you @dnroaffys for testing it out on your machine.

Stay healthy!

joeyvanlierop commented 4 years ago

Closes #12