From: Marco Guiseppe Date: 2008-02-05T12:14:37+09:00 Subject: Re: Treetop problem Clifford Heath wrote: > You must prevent it happening (perhaps by using lookahead) in the > first place. > > In this case, you can do that by writing: Thanks for your reply - I had a sneaking suspicion this was a problem with the type of parser, not Treetop specifically. Your suggestion won't solve my problem though, as I need to match strings where the first character is a digit. Thanks for pointing out the non-alphabetical chars in A-z, didn't know I'd missed that. MG -- Posted via http://www.ruby-forum.com/.