We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2557089 commit 5c4b673Copy full SHA for 5c4b673
ci/date-check/src/main.rs
@@ -41,13 +41,13 @@ fn make_date_regex() -> Regex {
41
r"(?x) # insignificant whitespace mode
42
(<!--\s*
43
date-check:\s*
44
- (?P<m1>\D+)\s+
+ (?P<m1>[[:alpha:]]+)\s+
45
(?P<y1>\d{4})\s*-->
46
)
47
|
48
49
date-check\s*-->\s+
50
- (?P<m2>\D+)\s+
+ (?P<m2>[[:alpha:]]+)\s+
51
(?P<y2>\d{4})\b
52
53
",
0 commit comments