bskinn / pent

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

Tutorial examples demonstrating differences in internal-spaces behaviors #77

Open bskinn opened 5 years ago

bskinn commented 5 years ago

IIRC, the default behavior for + quantity tokens is different in terms of the expectation of intervening spaces for numbers versus literals: numbers require spaces in between, whereas literals require NO spaces in between. This needs to be clearly documented.

There may be an issue posted for adding a token character that allows changing this behavior? Might be obsoleted by a feature allowing specification of a number format for #... though it may be useful to allow a user to require intervening whitespace in repeating literals, in certain cases of formatted output.