Archive for May 10, 2014


Below, there are some useful regular expressions for matching C-like primitive data values.

Continue reading

In a previous article I have presented a way for ignoring multiline comments with an old fashion way.

In this article I’ll demonstrate a more elegant Flex-like way for ignoring multiline comments.

Continue reading

Below, is a simple example for counting words, lines and characters by using a Flex lexer.

Continue reading