aboutsummaryrefslogtreecommitdiff
path: root/extract_src.py
diff options
context:
space:
mode:
Diffstat (limited to 'extract_src.py')
-rwxr-xr-xextract_src.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extract_src.py b/extract_src.py
index 766bf1a..3fb5559 100755
--- a/extract_src.py
+++ b/extract_src.py
@@ -8,7 +8,7 @@ import re
with open(sys.argv[1], "r") as inp:
with open(sys.argv[2], "w") as out:
in_src = False
- startp = re.compile(r"^\s*#\+begin_src .* :tangle")
+ startp = re.compile(r"^\s*#\+begin_src")
endp = re.compile(r"^\s*#\+end_src")
quoted = re.compile(r"^\s*,(\*|,\*|#\+)")