Parser pattern

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 Tananaeva year 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.