The PyLly spec file specifies regular expressions to match and code to execute when a pattern is matched. The file itself is comprised of a number of sections.