Skip to content

makes username regex capture group non-greedy, fixes #150#151

Merged
mattmakai merged 1 commit intomattmakai:masterfrom
aoberoi:update-slack-bot-tut-regex
Jan 30, 2018
Merged

makes username regex capture group non-greedy, fixes #150#151
mattmakai merged 1 commit intomattmakai:masterfrom
aoberoi:update-slack-bot-tut-regex

Conversation

@aoberoi
Copy link
Contributor

@aoberoi aoberoi commented Jan 30, 2018

the greedy matching would result in the wrong mention parsing if another formatted link was in the message. this change makes it non-greedy.

fixes #150

@mattmakai mattmakai merged commit e4a3260 into mattmakai:master Jan 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slackbot receiving links

2 participants