Flex, matching order

ywang@maingate.net (Sunny Wang)
11 Jun 1997 00:01:20 -0400

          From comp.compilers

Related articles
Flex, matching order ywang@maingate.net (1997-06-11)
| List of all articles for this month |

From: ywang@maingate.net (Sunny Wang)
Newsgroups: comp.compilers
Date: 11 Jun 1997 00:01:20 -0400
Organization: Electrotex, Inc. http://www.electrotex.com/
Keywords: flex, question

Hi,


In flex, it always tries to match the longest possible
string. However, now I want to match the shortest possible? Is there
anyway to do it?


Thanks a lot.


Y. Wang
ywang@maingate.net
[Generally, use a different pattern. Or use states and a bunch of
one-character patterns. -John]




--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.