Remove surrogates range from regex for "display", "url" and "class" modes. This range is invalid in UTF-8 and causes a compilation failure with newer versions of PCRE.