[antlr-interest] case sensitivity for ANTLR v3 lexers
    Terence Parr 
    parrt at cs.usfca.edu
       
    Tue May 16 14:01:39 PDT 2006
    
    
  
On May 16, 2006, at 12:39 PM, Martin Probst wrote:
> Hi,
>
>> We should also probably let people set the locale for the  
>> uppercasing, right?
>
> Doesn't it (=Java) use the correct locale by default? I'm not sure  
> there is a difference within Latin character sets, and for other  
> stuff you need to use IBM ICU or something comparable anyways.  
> Maybe just allowing to override matches(char c) is indeed enough.
Yep, but you might be reading a file from another locale...across a  
socket for example.
Ter
    
    
More information about the antlr-interest
mailing list