Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Jan 30, 2018

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
Linked issues

Successfully merging this pull request may close these issues.

2 participants