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

Does not work properly with international characters #20

Open
koliber opened this issue Oct 22, 2013 · 1 comment
Open

Does not work properly with international characters #20

koliber opened this issue Oct 22, 2013 · 1 comment

Comments

@koliber
Copy link

koliber commented Oct 22, 2013

I have the following users values:

                         { 
                            username: "AniSales",
                            name: "Ani Sales"
                        }, { 
                            username: "BonnięSales",
                            name: "Bonnię Sales"
                        },

If I type @AniSales all works well and the auto-complete finishes. I I type @bonn the autocomplete starts, but if I hit enter it does not finish.

I have had this problem with various Polish characters in the username.

@snoywing
Copy link

usernames = (this.query.toLowerCase()).match(new RegExp(settings.delimiter + '[\w\W]+', "g")),

line 51, change match rule to this, maybe it will help you

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

No branches or pull requests

2 participants