We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 498f62b commit d2bfc35Copy full SHA for d2bfc35
ci/date-check/src/main.rs
@@ -37,7 +37,7 @@ impl fmt::Display for Date {
37
}
38
39
fn make_date_regex() -> Regex {
40
- Regex::new(r"[aA]s of (\w+) (\d{4})").unwrap()
+ Regex::new(r"[aA]s\s+of\s+(\w+)\s+(\d{4})").unwrap()
41
42
43
fn collect_dates_from_file(date_regex: &Regex, text: &str) -> Vec<(usize, Date)> {
0 commit comments