Skip to content

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.

4 participants