On 15/9/2006, at 18:02, guerom00 wrote: > [...] I tried to > give a scope to those loop names but > with my poor knowledge of RegExp, > I cannot achieve something satisfactory... So you want the language grammar to scope labels? A regexp like: ^[A-Za-z_]+: should match them, assuming here labels can only hold those characters.