How to get pyparsing to match “1 day” or “2 days” but fail “1 days” and “2 day”?
I’m trying to match a sentence fragment of the form “after 3 days” or “after 1 month”. I want to be particular with the single and plural forms, so “1 day” is valid but “1 days” is not.