From 8aec40f9515e98eb13628145e38a810724b721c4 Mon Sep 17 00:00:00 2001
From: Philip Sargent <philip.sargent@gmail.com>
Date: Sat, 22 Apr 2023 23:27:06 +0100
Subject: [PATCH] todo

---
 parsers/caves.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/parsers/caves.py b/parsers/caves.py
index e1ec8dc..97d3b0a 100644
--- a/parsers/caves.py
+++ b/parsers/caves.py
@@ -31,6 +31,10 @@ todo = """
    
 - we want to overwrite a PENDING cave if we are now importing the 1623-xxx.html file for it
 
+- rewrite archaic regex
+  re.findall("<%(itemname)s>(.*?)</%(itemname)s>" % {"itemname": itemname}, text, re.S)
+  in modern form and pre-compile it. 
+
 - Semi-automagically import all the 1627- pending caves and create HTML files for them to be
   edited individually. (These are caves we only know about because we have German survex files.)