Unrolling regular expression on Debian Linux