re2c (1) Linux Manual Page
NAME
re2c – convert regular expressions to C/C++
SYNOPSIS
re2c [OPTIONS] FILE
DESCRIPTION
re2c is a lexer generator for C/C++. It finds regular expression specifications inside of C/C++ comments and replaces them with a hard-coded DFA. The user must supply some interface code in order to control and customize the generated DFA.
EXAMPLE
Given the following code:
-
unsigned int stou(const char *s)
{
#define YYCTYPE char
const YYCTYPE *YYCURSOR = s;
unsigned int result = 0;
for (;;) {
/*!re2c
re2c:yyfill:enable = 0;
"
