Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
This example lives in the package org.parboiled.examples.time and is a simple demo of a parser for time specifications in various, very relaxed formats.
This examples demonstrates how parboiled can be used for tasks that would otherwise often be solved with regular expressions. Even though this parboiled parser description is not the shortest in terms of lines of code it certainly is very readable and therefore easily maintained, enhanced, etc.