User:Ohconfucius/script/formatgeneral.js: Difference between revisions

Content deleted Content added
align to test script\
disabled 2 april 2017 due to false positives in 3dp
Line 573:
regex(/(\|[\s\']+)(\d+)[\. ](\d{3})[\. ](\d{3})[\. ](\d{3})(?=[ ']*[|\n<])/g, '$1$2,$3,$4,$5');
regex(/(\|[\s\']+)(\d+)[\. ](\d{3})[\. ](\d{3})(?=[ ']*[|\n<])/g, '$1$2,$3,$4');
// regex(/(\|[\s\']+)(\d+)[\. ](\d{3})(?=[ ']*[|\n<])/g, '$1$2,$3'); //disabled 2 april 2017 due to false positives in 3dp
 
// replace comma as decimal separator