From ccde8b5406beca2d351c1bc2934310e36059286f Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Mon, 22 Apr 2024 01:30:45 -0700 Subject: [PATCH] fix internal links in 2012/hou/dorssel.html Fixed internal links. Ran `bin/readme2index.sh -v 1 2012/hou` to perform the above. --- 2012/hou/README.md | 2 +- 2012/hou/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/2012/hou/README.md b/2012/hou/README.md index 38b40f3af..d0d5c8da1 100644 --- a/2012/hou/README.md +++ b/2012/hou/README.md @@ -78,7 +78,7 @@ The following regular expression operators are supported: ``` For example, one can use the following expression to match a certain declaration -statement in [hou.c](hou.c): +statement in [hou.c](%%REPO_URL%%/2012/hou/hou.c): ``` "char"[ *]*[a-zA-Z_][0-9a-zA-Z_]*[ ]*((=[0-9a-zA-Z_ ]+)|(\[[0-9a-zA-Z_ ]*\]))?[ ]*(,[ *]*[a-zA-Z_][0-9a-zA-Z_]*[ ]*((=[0-9a-zA-Z_ ]+)|(\[[0-9a-zA-Z_ ]*\]))?[ ]*)*; diff --git a/2012/hou/index.html b/2012/hou/index.html index b83dcb169..1f546712b 100644 --- a/2012/hou/index.html +++ b/2012/hou/index.html @@ -194,7 +194,7 @@ in the regular expression by escaping it with [] or ""

The following regular expression operators are supported:

    () [] * + ? | ""

For example, one can use the following expression to match a certain declaration -statement in hou.c:

+statement in hou.c:

        "char"[ *]*[a-zA-Z_][0-9a-zA-Z_]*[ ]*((=[0-9a-zA-Z_ ]+)|(\[[0-9a-zA-Z_ ]*\]))?[ ]*(,[ *]*[a-zA-Z_][0-9a-zA-Z_]*[ ]*((=[0-9a-zA-Z_ ]+)|(\[[0-9a-zA-Z_ ]*\]))?[ ]*)*;

The regex engine is also algorithmically efficient. To illustrate the point, ansi.txt contains a pathological expression 1 that guarantees a