Hello I fixed ghc regexp. Now it is slower but works according to N. It contains dirty magic to force ghc evaluate things. - Einar Karttunen