Open sandeepkashyap opened 8 years ago
Thanks for the report. I think the current regex expects that the patterns are different. I can take a look into supporting the same pattern for each.
Did you get a chance to look into this?
When the trigger, start, and end pattern are all the same, the logic gets a bit fuzzy for detecting the boundaries for selections vs. new triggers vs. normal text characters. I'll have to think about this and see if there's a better way to support it. Thanks!
I understand. Let me try to come up with a solution :)
@sandeepkashyap Sounds good--pull requests are more than welcome!
If mentionTrigger, mentionStartPattern and mentionEndPattern are set to ":" and you type ":" after a few words, the list doesn't get populated.