Skip to content

Commit d2bfc35

Browse files
tshepangcamelid
andauthored
accept review suggestion
Co-authored-by: Noah Lev <[email protected]>
1 parent 498f62b commit d2bfc35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/date-check/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl fmt::Display for Date {
3737
}
3838

3939
fn make_date_regex() -> Regex {
40-
Regex::new(r"[aA]s of (\w+) (\d{4})").unwrap()
40+
Regex::new(r"[aA]s\s+of\s+(\w+)\s+(\d{4})").unwrap()
4141
}
4242

4343
fn collect_dates_from_file(date_regex: &Regex, text: &str) -> Vec<(usize, Date)> {

0 commit comments

Comments
 (0)