help-flex
[Top][All Lists]
Advanced

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

Re: escpape characters


From: W. L. Estes
Subject: Re: escpape characters
Date: Wed, 27 Nov 2002 08:15:35 -0500
User-agent: Mutt/1.3.28i

On Tuesday, 26 November 2002,22:15 -0500, Bernd Prager wrote:

> Hi,
> 
> I'm trying to parse a string where special characters
> are used as delimiters but they can also appear 
> within the single items when an escape sequence
> is used. So ':' is a delimiter, '\:' is not.
> I tried to describe that in flex but failed ;-/
> Can anybody give me a hand here?

Use start conditions. The problem is that you need a different scanner
for your delimited strings. See the manual for details.

Thanks,

--Will




reply via email to

[Prev in Thread] Current Thread [Next in Thread]