Skip to content

Conversation

@nam-hle
Copy link
Contributor

@nam-hle nam-hle commented Nov 14, 2021

My attempt to fix #86.

@sindresorhus
Copy link
Owner

You need to reset lastIndex for the g regex. See: https://github.com/sindresorhus/camelcase/pull/85/files

@sindresorhus sindresorhus merged commit 651ba7d into sindresorhus:main Nov 15, 2021
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.

Move regexes to the outer scope

3 participants