n with consideration of optionalDigits
n with consideration of optionalDigits

Usage of n works except when there could be optional digits, i.e. [M#1] in which case we need to also supply a lower bound of occurrences.

jsonata-js/jsonata,jsonata-js/jsonata