From 616c0b69313ce28bcc727b1763e99604929c30da Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Mon, 7 Oct 2024 18:55:30 -0500 Subject: begin nix migration for mac --- extract_src.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extract_src.py') 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*,(\*|,\*|#\+)") -- cgit v1.2.3