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

Esmith solution #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Esmith solution #10

wants to merge 1 commit into from

Conversation

Stellara
Copy link

So, I kind of hate this. I couldn't find a more succinct RegEx because \W doesn't include underscores. I am also not a fan of the super long ternary, but I was trying it out since I don't use ternary very often and I wanted a bit more practice with it.

I did learn about positive and negative lookaheads and lookbehinds though and that was fun!

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.

1 participant