Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

[BUG] - [VERY LITTLE :-] - use - for snake, not _ #114

Closed
Lajule opened this issue Sep 27, 2019 · 3 comments
Closed

[BUG] - [VERY LITTLE :-] - use - for snake, not _ #114

Lajule opened this issue Sep 27, 2019 · 3 comments

Comments

@Lajule
Copy link

Lajule commented Sep 27, 2019

Hi,
First congratulation for this great work !!!

There is a little mistake in the snake case snippet, it mention '_' in examples results but i think it might be a '-', take a look to following lines :

[BUG] use - for snake, not _

Expected Snippet Behavior

'-' in examples results

Current Snippet Behavior

'_' in examples results

Possible Solution

'-' in examples results

Best regards,
Julien

@rfezzani
Copy link
Contributor

Hi all, I also noticed that the camel case example is not working:

>>> snake('camelCase')
'camelcase'

@Chalarangelo
Copy link
Owner

Maybe transforming the original JS regexp didn't work for those. I will see what I can do or you can open a PR with a proposal to fix the code.

@lock
Copy link

lock bot commented Dec 18, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for any follow-up tasks.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants