Show More
@@ -6,7 +6,7 b'' | |||||
6 | > import re |
|
6 | > import re | |
7 | > import sys |
|
7 | > import sys | |
8 | > |
|
8 | > | |
9 | > head_re = re.compile('^#(?:(?:\\s+([A-Za-z][A-Za-z0-9_]*)(?:\\s.*)?)|(?:\\s*))$') |
|
9 | > head_re = re.compile(r'^#(?:(?:\\s+([A-Za-z][A-Za-z0-9_]*)(?:\\s.*)?)|(?:\\s*))$') | |
10 | > |
|
10 | > | |
11 | > for line in sys.stdin: |
|
11 | > for line in sys.stdin: | |
12 | > hmatch = head_re.match(line) |
|
12 | > hmatch = head_re.match(line) |
General Comments 0
You need to be logged in to leave comments.
Login now