help-flex
[Top][All Lists]
Advanced

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

Re: Defining Rules


From: Valter G. Nogueira Jr.
Subject: Re: Defining Rules
Date: Fri, 12 Sep 2003 17:03:05 -0300

Tim,

I understood your explanation. Thanks.

I can eat each . as a TOK_HTML_STUFF token, but it will slow down the
parser.

Do you envision any way to work around this issue?

Is there any great book using flex?

Thanks

Valter

>
> Flex always uses the longest possible match.  This means that
> when the line had "<%=" it will use "<%=" and not "<%".
> It also means that if you have a matcher like .* (= whole line)
> it will take that.
> Simply delete the .* line (ECHO is the default anyway), or change
> the matcher to a single '.'
>





reply via email to

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