[Pkg-haskell-maintainers] Bug#753299: libghc-highlighting-kate-dev: Highlighting Ocaml fails

Samuel Hym Samuel.Hym+bugs at rustyne.lautre.net
Tue Jul 1 16:06:35 UTC 2014


Hi John,

> 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)? 

I rechecked, using the same version of the package but on a different 
machine, different arch, just in case. But still with debian-built 
packages, and with the same result.

Here is what ghci has to say, with the full versions of the modules used:

GHCi, version 7.6.3: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> :m +Text.Highlighting.Kate
Prelude Text.Highlighting.Kate> highlightAs "ocaml" "a"
Loading package array-0.4.0.1 ... linking ... done.
Loading package deepseq-1.3.0.1 ... linking ... done.
Loading package containers-0.5.0.0 ... linking ... done.
Loading package bytestring-0.10.0.2 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.2 ... linking ... done.
Loading package text-0.11.3.1 ... linking ... done.
Loading package parsec-3.1.3 ... linking ... done.
Loading package blaze-builder-0.3.3.2 ... linking ... done.
Loading package blaze-markup-0.5.1.6 ... linking ... done.
Loading package blaze-html-0.6.1.2 ... linking ... done.
Loading package pcre-light-0.4 ... linking ... done.
Loading package utf8-string-0.3.7 ... linking ... done.
Loading package highlighting-kate-0.5.8.2 ... linking ... done.
[*** Exception: Text.Regex.PCRE.Light: Error in regex: range out of 
order in character class

You think something else might be to blame in the module stack?
Do you know if there is a way to ask pcre-light to be somewhat more 
informative about the regex producing the issue?

By the way, many thanks for pandoc!

Best regards
Samuel



More information about the Pkg-haskell-maintainers mailing list