On Jul 18, 2013, at 11:50 AM, Joe Darcy wrote:
>> This I interpret to mean the second example in the first block in this
>> section http://docs.oracle.com/javase/specs/jls/se7/html/jls-2.html#jls-2.4.
>
> Right (although the on-line rendering in the browser I'm using while typing
> this doesn't look very clear in distinguishing the terminals and
> non-terminals).
>
> I've used this notation for grammars in java.lang.Integer and
> java.lang.Double.
I don't at first glance see a mapping of the regular expression "+" (one or
more) to something in the JLS grammar. There are
? => [x] zero or one x
* => {x} zero or more x
but nothing (succinct at least) apparent for the plus sign.
Thanks,
Brian