Parser pattern

Stefan Müller 3 years ago

I need help. I have problems with understanding the pattern.
For example different between d+ and (d+)?
what means .optional() or .optional(2) ??
Is there a manual about parser pattern ?
Regards Baloo

Anton Tananaev 3 years ago

No manual, but you can check the source code. The functions are very simple and are basically simple wrappers on top of the standard regular expressions.