;;; -*- mode: fundamental; coding: utf-8; indent-tabs-mode: t; -*- ;;; ;;; Copyright (c) 2009 -- 2018 Stephan Oepen (oe@ifi.uio.no); ;;; see `LICENSE' for conditions. ;;; ;; ;; even though the triple- and double-hyphen conventions were originally part ;; of (La)TeX, they have become rather common in `plain' ASCII text too. ;; !([^-])---([^-]) \1—\2 !([^-])--([^-]) \1–\2 ;; DPF 2017-12-22 - Accommodate a non-standard question mark !([^-])?([^-]) \1?\2 ;; Normalize some alphanumeric measure expressions !km2 km²