aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_regex.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-07-04 07:36:45 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit203fa77f01c460b60ea50342676a55c4a80b5a42 (patch)
tree4d28d14dafa2395ed1e52f36e5bd88649ff34cde /org/default_regex.org
parentoutput_hub sqlite introduce structure (diff)
sdl extract and composite conf (make)doc-reform_v0.0.17
Diffstat (limited to 'org/default_regex.org')
-rw-r--r--org/default_regex.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/org/default_regex.org b/org/default_regex.org
index 04abbad..e1f8d26 100644
--- a/org/default_regex.org
+++ b/org/default_regex.org
@@ -83,6 +83,15 @@ static comment = ctRegex!(`^%+ `);
static comments = ctRegex!(`^%+ |^%+$`);
#+END_SRC
+** config
+
+#+name: ao_rgx
+#+BEGIN_SRC d
+/+ header +/
+static make_simple_substitutions_rb = ctRegex!(`(?P<substitution>/(?P<match>.+?)/,[ ]*['"](?P<replace>.+?)['"])`);
+static make_simple_substitutions_d = ctRegex!(`(?P<substitution>``(?P<match>.+?)``,[ ]*['"](?P<replace>.+?)['"])`);
+#+END_SRC
+
** native headers
*** native header :native:header: