kschiess / parslet

A small PEG based parser library. See the Hacking page in the Wiki as well.
kschiess.github.com/parslet
MIT License
809 stars 95 forks source link

Fix character class typo in get-started example #174

Closed rathrio closed 7 years ago

rathrio commented 7 years ago

Encountered a small typo and thought I'd fix it. Cheers.

kschiess commented 7 years ago

Hi - thanks for caring!

AFAIK, both variants do the same, could be wrong. Did you try it?

rathrio commented 7 years ago

@kschiess Yes you are absolutely right, sorry! I tried it out with the normal parenthesis (match('a-z') and didn't notice that this variant uses #[]. Thanks for your time!