Changeset: af94c2a29e2a for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=af94c2a29e2a Modified Files: testing/listexports.py.in Branch: Aug2018 Log Message:
Future proof regular expression. Don't start a set with "[". Python 3.7 warns about that. diffs (12 lines): diff --git a/testing/listexports.py.in b/testing/listexports.py.in --- a/testing/listexports.py.in +++ b/testing/listexports.py.in @@ -33,7 +33,7 @@ srcdir = r'@SOURCE@' expre = re.compile(r'\b[a-zA-Z_0-9]+export\s+(?P<decl>[^;]*;)', re.MULTILINE) # the function or variable name -nmere = re.compile(r'\b(?P<name>[a-zA-Z_][a-zA-Z_0-9]*)\s*[[(;]') +nmere = re.compile(r'\b(?P<name>[a-zA-Z_][a-zA-Z_0-9]*)\s*[([;]') def extract(f): decls = [] _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list