text: module.exports = [
    // triple prime
    [/'''/g, retainLength => '\u2034' + (retainLength ? '\u2063\u2063' : '')],
    // beginning "
    [/(\W|^)"(\w)/g, '$1\u201c$2'],
    // ending "
    [/(\u201c[^"]*)"([^"]*$|[^\u201c"]*\u201c)/g, '$1\u201d$2'],
    // remaining " at end of word
    [/([^0-9])"/g, '$1\u201d'],
    // double prime as two single quotes
    [/''/g, retainLength => '\u2033' + (retainLength ? '\u2063' : '')],
    // beginning '
    [/(\W|^)'(\S)/g, '$1\u2018$2'],
    // conjunction's possession
    [/([a-z])'([a-z])/ig, '$1\u2019$2'],
    // abbrev. years like '93
    [/(\u2018)([0-9]{2}[^\u2019]*)(\u2018([^0-9]|$)|$|\u2019[a-z])/ig, '\u2019$2$3'],
    // ending '
    [/((\u2018[^']*)|[a-z])'([^0-9]|$)/ig, '$1\u2019$3'],
    // backwards apostrophe
    [/(\B|^)\u2018(?=([^\u2018\u2019]*\u2019\b)*([^\u2018\u2019]*\B\W[\u2018\u2019]\b|[^\u2018\u2019]*$))/ig, '$1\u2019'],
    // double prime
    [/"/g, '\u2033'],
    // prime
    [/'/g, '\u2032'],
    // hyphen to en-dash between numbers
    [/([0-9])-([0-9])/g, '$1–$2'],
    // hyphen to en-dash between spaces
    [/(\s)-(\s)/g, '$1–$2'],
    // x to × between spaces
    [/(\s)x(\s)/g, '$1×$2']
  ];
  