On some other website I found the following interesting ANTRL grammar rule: onestar : ( { input.LA(2) != STAR }? ( STAR )?) | ; Can anybody explain its precise meaning to me? Cheers, Chris