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

Latin unicode support #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AntonioVdlC
Copy link

I've added support for Latin-1 Supplement Unicode characters (+ tests) and slightly modified the code to easily add new alphabets in the future.

I also noticed there was a .eslintrc.json file so I installed eslint as a devDependencies and added the linting to the test script.

Let me know if that works for you!

@AntonioVdlC
Copy link
Author

Hi @jonschlinkert!
Let me know if I need to change anything on this PR or if that's good for you! 😃

@jonschlinkert
Copy link
Owner

@AntonioVdlC sorry, missed your pr somehow. I'll review today, thanks!

nonWord: /[^A-Za-z0-9\u00C0-\u00D6\u00D8-\u00DD\u00DF-\u00F6\u00F8-\u00FF]/
};

var camelCase = new RegExp('(' + re.small.source + ')(' + re.capital.source + ')', 'g');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoah never knew about RegExp#source 👍

@franktopel
Copy link

What is the state of this pull request?

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.

None yet

4 participants