From cc35495023e8ad6fdbb49dcc4ff0b72d6f6f1d26 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 2 Apr 2006 22:56:19 +0000 Subject: [PATCH] extra sql statements... --- doc/build/txt2myt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build/txt2myt.py b/doc/build/txt2myt.py index 5e00eeff42..85778cd97a 100644 --- a/doc/build/txt2myt.py +++ b/doc/build/txt2myt.py @@ -92,7 +92,7 @@ def process_code_blocks(tree): # consumed as Myghty comments. text = re.compile(r'^(?!<&)', re.M).sub(' ', text) - sqlre = re.compile(r'{sql}(.*?)((?:SELECT|INSERT|DELETE|UPDATE).*?)\n\s*(\n|$)', re.S) + sqlre = re.compile(r'{sql}(.*?)((?:SELECT|INSERT|DELETE|UPDATE|CREATE|DROP).*?)\n\s*(\n|$)', re.S) text = sqlre.sub(r"<&formatting.myt:poplink&>\1\n<&|formatting.myt:codepopper, link='sql'&>\2\n\n", text) pre_parent = parent[pre] -- 2.47.2