From 78b5ee443c1334c41e389aa569e6f79adca15c0e Mon Sep 17 00:00:00 2001 From: Brian Drawert Date: Thu, 19 Sep 2024 08:26:27 -0700 Subject: [PATCH] changed regex strings to raw strings --- gillespy2/core/model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gillespy2/core/model.py b/gillespy2/core/model.py index f3857e54..1ff76dfb 100644 --- a/gillespy2/core/model.py +++ b/gillespy2/core/model.py @@ -1664,8 +1664,8 @@ def to_string(self): doc = eTree.tostring(self.document) xmldoc = xml.dom.minidom.parseString(doc) ugly_xml = xmldoc.toprettyxml(indent=' ') - text_re = re.compile(">\n\s+([^<>\s].*?)\n\s+\g<1>\n\s+([^<>\s].*?)\n\s+\g<1>