Skip to content

Commit

Permalink
Fixed: Broken mentioning regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
luke- committed Feb 15, 2016
1 parent d7b20e6 commit 3999596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protected/humhub/widgets/views/richTextEditor.php
Expand Up @@ -53,7 +53,7 @@
matcher: function (flag, subtext, should_start_with_space) {
var match, regexp;

regexp = new RegExp(/(\s+|^)@([\u00C0-\u1FFF\u2C00-\uD7FF\w\s\-\']+$)/);
regexp = new RegExp(/(\s+|^)@([\u00C0-\u1FFF\u2C00-\uD7FF\w\s\-\']*$)/);
match = regexp.exec(subtext);

if (match && typeof match[2] !== 'undefined') {
Expand Down

0 comments on commit 3999596

Please sign in to comment.