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

Content deleted Content added
another attempt
+ by to present
Line 571:
regex(/([\s\(]")([^"\n]*)(")/gi, protect_function);
regex(/([\s\(]“)([^”\n]*)(”)/gi, protect_function);
regex(/(\(\{\{by\|[12]\d{3})(\}\}[-–]\{\{by\|)([12]\d{3}[ ]*\}\}\))/gi, protect_function);
regex(/(\(\{\{by\|[12]\d{3})(\}\}[-–]present\))/gi, protect_function);
//retraining redirects containing a date and some text