diff --git a/to-rpz/domains_rpz_argv.py b/to-rpz/domains_rpz_argv.py index 1794a31..8744fd4 100644 --- a/to-rpz/domains_rpz_argv.py +++ b/to-rpz/domains_rpz_argv.py @@ -9,7 +9,7 @@ outfile = sys.argv[2] with open(infile) as f: file = f.read().split('\n') for i in range(len(file)): - file[i] = sub(r'#', ';', file[i]) + file[i] = sub(r'#|\!', ';', file[i]) #print(file) with open(infile, 'w') as f1: f1.writelines(["%s\n" % item for item in file])