+ (* Convert line-endings in the input files from \r\n to \n. Diff
+ * can get confused by the \r characters, particularly in side-by-side
+ * mode when asked to expand tabs (-y -t).
+ *)
+ let f = Pcre.replace ~rex:le_re ~itempl:le_subst in
+ let new_page = f new_page in
+ let old_page = f old_page in
+