I need to match the following pattern (Flex 2.6.4): N|Num
. The generated code returns after matching N
. How can I force it to find the longest match? I thought Flex used the greedy approach, but either it does not or I use it incorrectly. Any help is greatly appreciated.
3