User:Bobblewik/monobook.js/unitformatter.js: Difference between revisions

Content deleted Content added
Bobblewik (talk | contribs)
mNo edit summary
Bobblewik (talk | contribs)
mNo edit summary
Line 123:
 
// foot pound
txt.value = txt.value.replace(/ft[ -.·•\/]lb[fs](\W)/gi, 'ft·lbf$1');
txt.value = txt.value.replace(/ft[ -.·•\/]lb\slbs/gi, 'ft·lbf ');
txt.value = txt.value.replace(/ft[ -.·•\/]lbf/gi, 'ft·lbf');
txt.value = txt.value.replace(/ft[ -.·•\/]lbff/gi, 'ft·lbf');
txt.value = txt.value.replace(/ft[ -.·•\/]lb\s/gi, 'ft·lbf ');
//the next two suspended until solution is found for wing loading (i.e. pounds per square foot)
//txt.value = txt.value.replace(/lb[fs][ -.•\/]ft/gi, 'ft·lbf');