Content deleted Content added
Ohconfucius (talk | contribs) changed from catch-all ".*?" to "[^<]*?" following nondetection at USS Enterprise (1799) |
Ohconfucius (talk | contribs) add space between full date ranges |
||
Line 249:
//reformat dmy-dmy and mdy-mdy (birth-death ranges)
ohc_regex(/(\D\W)@DD\s@Month,? @Year(?:( |\s)
ohc_regex(/(\D\W)@Month\s@DD,? @Year(?:( |\s)
ohc_regex(/(\D\W)@DD\s@Month,? @Year(?:(?:[-–—]|–)(?: |\s)?)@DD\s@Month,? @Year(?=\D\W)/gi, "$1@Day1 @LMonth1 @Year1$2 – @Day2 @LMonth2 @Year2");
ohc_regex(/(\D\W)@Month\s@DD,? @Year(?:(?:[-–—]|–)(?: |\s)?)@Month\s@DD,? @Year(?=\D\W)/gi, "$1@LMonth1 @Day1, @Year1$2 – @LMonth2 @Day2, @Year2");
//nbsp in publication archive & access dates
|