diff options
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | src/blog/sane-explanation-of-compilers/part-1/index.du | 2 |
diff --git a/src/blog/sane-explanation-of-compilers/part-1/index.du b/src/blog/sane-explanation-of-compilers/part-1/index.du index 74ad490..234a3b6 100644 --- a/src/blog/sane-explanation-of-compilers/part-1/index.du +++ b/src/blog/sane-explanation-of-compilers/part-1/index.du @@ -718,7 +718,7 @@ Usually the `[C_code]` in the regex would be a return (more commonly called "emi Let's look at a very simple example program: every whole number is printed as "NUMBER", while everything else is printed as-is: ```lex -'include ./lexer.l +'include ./example_lex/lexer.l The syntax `[[0-9]]` is the same as `[(0 | 1 | ... | 9)]`, it works for any letters and is available in all modern regexes. Note that inside every regex's "body" you have an assortment of variables already set, one of them being `[yytext]` which is just the whole match. |