Regexen for macros to create links in html documentation

Signed-off-by: Daniel Bergey <bergey@alum.mit.edu>
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf
index 3e37c7f..7afcf6f 100644
--- a/Documentation/asciidoc.conf
+++ b/Documentation/asciidoc.conf
@@ -100,3 +100,9 @@
 [linkstgsub-inlinemacro]
 <a href="stg-{target}.html">{target}</a>
 endif::backend-xhtml11[]
+
+[macros]
+# regexen to match macro templates above
+(?P<name>linkman):(?P<target>\w+)\[(?P<attrlist>\d+)]=
+(?P<name>linkstgsub):(?P<target>\w+)\[]=
+(?P<name>linkstg):(?P<target>\w+)\[]=