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

Added parser alternatives for some regex to examples #48

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

Conversation

Anton-4
Copy link

@Anton-4 Anton-4 commented Jul 1, 2020

Closes #47

@philer
Copy link

philer commented Jul 6, 2020

Thank you for those examples! I had been wondering how to use this thing.
Turns out this makes me question that recommendation of a parser over regex even more. A lot of those trivial, easy to read patterns that are universally understood across numerous languages turn into massive blocks of code that require intricate knowledge of one particular parser module. I'm definitely not a fan.

@Anton-4
Copy link
Author

Anton-4 commented Jul 7, 2020

You're welcome! I feel your pain 🙂 , it took me some thought to figure out how to make the parsers. Although I totally understand evan's arguments. Complex regexes really become a mess and may be quite daunting to beginning programmers.

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.

Add some examples that show a parser alternative for regex
2 participants