From 7d102c690a32b1261b4b7291eeb1e3595ab9793b Mon Sep 17 00:00:00 2001 From: checktheroads Date: Mon, 13 Apr 2020 01:02:50 -0700 Subject: [PATCH] improve example validation --- validate_examples.py | 1 - 1 file changed, 1 deletion(-) diff --git a/validate_examples.py b/validate_examples.py index 2f2779b..fd7a45f 100644 --- a/validate_examples.py +++ b/validate_examples.py @@ -26,7 +26,6 @@ def _uncomment_files(): output = [] with file.open("r") as f: for line in f.readlines(): - # if re.match(r"^(#\s+[a-z0-9]+)|(#\s+\-\s.*$)|(#\s#\s.*$)", line): commented = re.compile(r"^(#\s*#?\s?).*$") if re.match(commented, line): output.append(re.sub(r"^#\s*#?\s?$", "", line))