Skip to content

Esmith solution#10

Open
Stellara wants to merge 1 commit intomasterfrom
esmith_solution
Open

Esmith solution#10
Stellara wants to merge 1 commit intomasterfrom
esmith_solution

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

Comments