This is puzzling. This problem was fixed upstream in highlighting-kate 0.5.8.1. (See the changelog.) 0.5.8.2 fixes a similar problem with perl. I cannot reproduce what you're seeing with my locally installed version (not installed through debian).
Are you certain that the version you are using in GHCI is 0.5.8.2, and not an older version (perhaps from your user database)? +++ Samuel Hym [Jun 30 14 12:35 ]:
Package: libghc-highlighting-kate-dev Version: 0.5.8.2-1 Severity: important Dear Maintainer, Highlighting fails on ocaml code with a regex error. I tried to highlight the most simple code possible in ghci: Prelude Text.Highlighting.Kate> highlightAs "ocaml" "a" [*** Exception: Text.Regex.PCRE.Light: Error in regex: range out of order in character class This affects pandoc/1.12.4.2~dfsg-1+b1 while pandoc/1.12.3.3~dfsg-1+b11 works. Best regards, Samuel -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores) Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libghc-highlighting-kate-dev depends on: ii ghc [libghc-containers-dev-0.5.0.0-ab1da] 7.6.3-13 ii libc6 2.19-4 pn libghc-base-dev-4.6.0.1-8aa5d <none> ii libghc-blaze-html-dev [libghc-blaze-html-dev-0.6.1.2-0108a] 0.6.1.2-1+b2 ii libghc-mtl-dev [libghc-mtl-dev-2.1.2-94c72] 2.1.2-4 ii libghc-parsec3-dev [libghc-parsec-dev-3.1.3-6c6e2] 3.1.3-3+b1 ii libghc-pcre-light-dev [libghc-pcre-light-dev-0.4-f5309] 0.4-6 ii libghc-utf8-string-dev [libghc-utf8-string-dev-0.3.7-26a8e] 0.3.7-3 libghc-highlighting-kate-dev recommends no packages. Versions of packages libghc-highlighting-kate-dev suggests: ii libghc-highlighting-kate-doc 0.5.8.2-1 pn libghc-highlighting-kate-prof <none> -- no debconf information
-- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org