Skip to content

Commit 2f3c0ae

Browse files
casparvlbedroge
andauthored
Update tasks/build.py
Co-authored-by: Bob Dröge <b.e.droge@rug.nl>
1 parent 80f5f1d commit 2f3c0ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ def template_to_regex(format_str, with_eol=True):
11661166
# strategy. Otherwise, a formatting string that ends with a formatting item would only match the first letter
11671167
# of the field, because it doesn't find anything to match after (and it is non-greedy). With the $, it has
11681168
# something to match after the field, thus making sure it matches the whole field
1169-
# This does assume that the format_str in the string to be matched is indeed followed by and end-of-line character
1169+
# This does assume that the format_str in the string to be matched is indeed followed by an end-of-line character
11701170
# I.e. if a function that creates the formatted string does
11711171
# my_string = f"{format_str}\n"
11721172
# (i.e. has an end-of-line after the format specifier) it can be matched by another function that does

0 commit comments

Comments
 (0)