legal identifier check

BCS none at anon.com
Sun May 31 16:06:21 PDT 2009


Hello Saaa,

>> if you are only working with ASCII: use the regex
>> `_A-Za-z[_A-Za-z0-9]*`
>> 
> Is that better than the inPattern way?
> 

yes, it correctly rejects numbers at the start and should be faster as well.




More information about the Digitalmars-d-learn mailing list