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

Content deleted Content added
disabled function:ohc_delink_year_in_X
protect strings such as "trappist-1 may"
Line 921:
 
// expressions and grammatical strings including modal "may"
// regex(/(\Wtrsppist-)((?:\d{1,3})( may)((?: have(?: \w+|)|) be)/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);
regex(/(\W)((?:\d{2,3})\/\d dec(?:l\.?|))( \(\d\d? overs)/gi, protect_function);