Install libghc-regex-posix-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-regex-posix-dev
Description:
GHC library of the POSIX regex backend for regex-base
A library containing a POSIX regular expression backend conforming to the interface API of regex-base. . This package contains the libraries for use with GHC.
Homepage: http://sourceforge.net/projects/lazy-regex
Version: 0.95.2-9build1
Section: universe/haskell