User:Ohconfucius/test/MOSNUM dates code.js: Difference between revisions

Content deleted Content added
url retrieved
tweak to Century
Line 214:
regex(/(\d)[ ]?(?:-|–|–)[ ]?Present\b/g, '$1 – present');
regex(/(\d(?:st|nd|rd|th) )C(entur(?:ies|y))(?=[ ]*(=|BC|AD|CE))/g, '$1c$2');
regex(/(\d(?:st|nd|rd|th) )C(entur(?:ies|y))(?![ -]*(?:Fox|[A-Z]\w*))/g, '$1c$2');
//spaces and commas - in date formats