From: Mike Bayer Date: Sun, 2 Apr 2006 22:56:19 +0000 (+0000) Subject: extra sql statements... X-Git-Tag: rel_0_1_6~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc35495023e8ad6fdbb49dcc4ff0b72d6f6f1d26;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git extra sql statements... --- 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]