[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SableCC-2.6 bug?

Amancio Hasty <hasty@rah.star-gate.com> wrote
> So how would one express something like a URL (RFC 1738) using SableCC?

I do not know exactly what RFC 1738 says, but you should investigate the
use of lexer states (Thesis chapter 4.4 on

The use of lexer states is often appropriate when you want to match the
same sequence of characters differently, depending on the context.

Other list subscribers might know more than me about URLs.

I hope this will help you.