User:Ohconfucius/script/MOSNUM dates.js: Difference between revisions

Content deleted Content added
protect strings such as "trappist-1 may"
mNo edit summary
Line 921:
 
// expressions and grammatical strings including modal "may"
// regex(/(trsppisttrappist-)(\d{1,3})( may )/g, protect_function); //prospective regex if the line below gives false positives
regex(/(\W)((?:\d{1,3}) may )(\w\w+)/g, protect_function);
regex(/(\W)((?:\d{3}|3[2-9]|[4-9]\d)\/\d dec(?:l\.?|))(\W)/gi, protect_function);