forked from mirrors/thatmattlove-hyperglass
improve example validation
This commit is contained in:
parent
e526ac29d1
commit
7d102c690a
1 changed files with 0 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue