[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Nested comments
From: |
Hans Aberg |
Subject: |
RE: Nested comments |
Date: |
Thu, 3 Jul 2003 00:56:23 +0200 |
At 18:17 -0400 2003/07/02, address@hidden wrote:
>>Read Jeff Friedl's book, especially chapter 6, and then
>ask again if you
>>still need help
>
>I doubt that will be of much help. This user obviously
>understands regexps and PDAs enough to have already
>optimized the obvious (and most maintainable) solution:
>
><COMMENT>{
>"[*" ++level;
>"*]" if (!--level) BEGIN(0);
>.|\n ;
>}
The Flex manual suggests one should try to eat as much as possible in each
rule, and a tried to optimize it that way.
Hans Aberg
* Email: Hans Aberg <mailto:address@hidden>
* Home Page: <http://www.math.su.se/~haberg/>
* AMS member listing: <http://www.ams.org/cml/>
- RE: Nested comments, (continued)
- Re: Nested comments, Akim Demaille, 2003/07/03
- Re: Nested comments, john43, 2003/07/02
- Re: Nested comments, john43, 2003/07/02
- RE: Nested comments, Thurn, Martin, 2003/07/02
- RE: Nested comments, john43, 2003/07/02
- RE: Nested comments,
Hans Aberg <=
- Re: Nested comments, Hans Aberg, 2003/07/02
- Re: Nested comments, john43, 2003/07/05
- Re: Nested comments, john43, 2003/07/07
- Re: Nested comments, john43, 2003/07/07
- Re: Nested comments, john43, 2003/07/07