From 554160db15fcbe4376fa268875fccc838311df6d Mon Sep 17 00:00:00 2001 From: holger krekel Date: Wed, 10 Jun 2020 19:29:34 +0200 Subject: [PATCH] also catch DC_KEY_GEN_RSA2048 as const --- python/src/deltachat/_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/src/deltachat/_build.py b/python/src/deltachat/_build.py index 46176ab24..c0c34ee14 100644 --- a/python/src/deltachat/_build.py +++ b/python/src/deltachat/_build.py @@ -149,9 +149,9 @@ def extract_defines(flags): | DC_PROVIDER | DC_KEY_GEN ) # End of prefix matching - _[A-Z_]+ # Match the suffix, e.g. _TEXT in DC_MSG_TEXT + _[\w_]+ # Match the suffix, e.g. _RSA2048 in DC_KEY_GEN_RSA2048 ) # Close the capturing group, this contains - # the entire name e.g. DC_MSG_TEXT. + # the entire name e.g. DC_MSG_TEXT. \s+\S+ # Ensure there is whitespace followed by a value. """, re.VERBOSE) defines = []