[antlr-interest] Regular Expression vs CFG

Omry Yadan omry at yadan.net
Tue Mar 6 08:40:08 PST 2007


SELECT * FROM foo WHERE (a or (b or (c or ( ... ) ) )



Jim Idle wrote:

> Yes, I believe that someone can.
>
>
> On 3/5/07 6:29 PM, "Dennis Katumalla" <denniskatumalla at yahoo.com> wrote:
>
>   
>> Can someone give me a simple example where a regular expression alone (using
>> java.util.regex) is not sufficient to parse a SQL statement and requires
>> specification of a full grammar?
>>
>> Thanks in advance.
>>  
>> Dennis
>>
>>
>>
>>
>>     
>
>   



More information about the antlr-interest mailing list