> You have to handle case insensitivity the hard way: > > fragment A > : 'A' | 'a'; > >[...] I don't think it's a necessity to do it this way. Actually, I think it would be better using a specialized input stream that does any necessary transformation. Your mileage may vary ;) Cheers, Marco