Skip to content

Commit

Permalink
handle all Irish O'x names, not just O'Reilly
Browse files Browse the repository at this point in the history
  • Loading branch information
rsperberg committed Feb 14, 2015
1 parent e06bd8c commit 65d4e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cleanup.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var replacements = [
{ searchFor: /'t\b/g, replaceWith: "’t"}, // don't
{ searchFor: /'ve\b/g, replaceWith: "’ve"}, // I've
{ searchFor: /(\s)'(\d\ds)/g, replaceWith: "$1’$2"}, // ’90s
{ searchFor: /O'R/g, replaceWith: "O’R"}, // O'Reilly
{ searchFor: /O'([A-Z])/g, replaceWith: "O’$1"}, // O'Reilly
{ searchFor: /",/g, replaceWith: ',”'}, // comma outside quote mark
{ searchFor: /"\./g, replaceWith: '.”'}, // period outside quote mark (transpose only)
{ searchFor: /"\b/g, replaceWith: '“'}, // open quote (eg, precedes a 'word boundary')
Expand Down

0 comments on commit 65d4e19

Please sign in to comment.