From a98e79eea4bf4ec6aa2f3a977ee8dd243918b5ff Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 20 Aug 2025 06:23:35 +0300 Subject: fix(blog/sane-explanation-of-compilers): Fix include file path --- src/blog/sane-explanation-of-compilers/part-1/index.du | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.3.1-23-gd82d