bskinn / pent

pent Extracts Numerical Text -- Mini-language driven parser for structured numerical data in text
MIT License
20 stars 3 forks source link

Add token to make a line optional, and implement into Parser #43

Closed bskinn closed 6 years ago

bskinn commented 6 years ago

Possibility exemplified by cclib code here.

Further example is evident in a modified version of the pent test case here, where if the highlighted blank line were absent in data then I think no valid pattern could be constructed as the code stands.